Build of c-ares with musl toolchain

The build took 00h 02m 08s and was SUCCESSFUL.

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

SLOCLanguage
22,311 ansic
6,395 cpp
4,568 sh
1,770 makefile
48 perl
18 awk
35,110 total

The process tree of the build process is here.

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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/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: c-ares 1.11.0-1 (Wed Apr 5 00:20:02 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking whether to enable maintainer-specific portions of Makefiles... no
# checking whether make supports nested variables... yes
# 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 whether to expose internal static functions for testing... no
# checking for path separator... :
# checking for sed... /usr/sbin/sed
# checking for grep... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking for x86_64-unknown-linux-ar... no
# checking for ar... /sysroot/bin/ar
# checking for a sed that does not truncate output... (cached) /usr/sbin/sed
# checking whether to build with code coverage support... no
# checking build system type... x86_64-pc-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking for a BSD-compatible install... /usr/bin/install -c
# 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... yes
# 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 how to run the C preprocessor... clang -E
# checking whether build environment is sane... yes
# checking for x86_64-unknown-linux-strip... no
# checking for strip... strip
# configure: WARNING: using cross tools not prefixed with host triplet
# checking for a thread-safe mkdir -p... /usr/sbin/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/sbin/grep
# checking for egrep... /usr/sbin/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/sbin/sed
# checking for fgrep... /usr/sbin/grep -F
# checking for ld used by clang... /sysroot/bin/ld
# checking if the linker (/sysroot/bin/ld) is GNU ld... yes
# checking for BSD- or MS-compatible name lister (nm)... no
# checking for x86_64-unknown-linux-dumpbin... no
# checking for x86_64-unknown-linux-link... no
# checking for dumpbin... no
# checking for link... link -dump
# checking the name lister (nm) interface... BSD nm
# checking whether ln -s works... yes
# checking the maximum length of command line arguments... 1572864
# checking how to convert x86_64-pc-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
# checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
# checking for /sysroot/bin/ld option to reload object files... -r
# checking for x86_64-unknown-linux-objdump... no
# checking for objdump... objdump
# checking how to recognize dependent libraries... pass_all
# checking for x86_64-unknown-linux-dlltool... no
# checking for dlltool... no
# checking how to associate runtime and link libraries... printf %s\n
# checking for x86_64-unknown-linux-ar... /sysroot/bin/ar
# checking for archiver @FILE support... @
# checking for x86_64-unknown-linux-strip... strip
# checking for x86_64-unknown-linux-ranlib... no
# checking for ranlib... ranlib
# checking command to parse nm output from clang object... ok
# checking for sysroot... no
# checking for a working dd... /usr/sbin/dd
# checking how to truncate binary pipes... /usr/sbin/dd bs=4096 count=1
# checking for x86_64-unknown-linux-mt... 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 (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking whether -lc should be explicitly linked in... no
# 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... yes
# 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... no
# 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 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 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 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 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
# configure: WARNING: cannot check for /dev/urandom while cross compiling; assuming none
# 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
# checking that generated files are newer than configure... done
# 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
# configure: amending ./Makefile
# make all-recursive
# make[1]: Entering directory '/tmp/c-ares/src/c-ares-1.11.0'
# make[2]: Entering directory '/tmp/c-ares/src/c-ares-1.11.0'
# CC libcares_la-ares__close_sockets.lo
# CC libcares_la-ares__get_hostent.lo
# CC libcares_la-ares__read_line.lo
# CC libcares_la-ares__timeval.lo
# CC libcares_la-ares_cancel.lo
# CC libcares_la-ares_destroy.lo
# CC libcares_la-ares_data.lo
# CC libcares_la-ares_expand_name.lo
# CC libcares_la-ares_expand_string.lo
# CC libcares_la-ares_fds.lo
# CC libcares_la-ares_free_hostent.lo
# CC libcares_la-ares_free_string.lo
# CC libcares_la-ares_gethostbyaddr.lo
# CC libcares_la-ares_getenv.lo
# CC libcares_la-ares_gethostbyname.lo
# CC libcares_la-ares_getnameinfo.lo
# CC libcares_la-ares_getsock.lo
# CC libcares_la-ares_init.lo
# CC libcares_la-ares_library_init.lo
# CC libcares_la-ares_llist.lo
# CC libcares_la-ares_mkquery.lo
# CC libcares_la-ares_create_query.lo
# CC libcares_la-ares_nowarn.lo
# CC libcares_la-ares_options.lo
# CC libcares_la-ares_parse_a_reply.lo
# CC libcares_la-ares_parse_aaaa_reply.lo
# CC libcares_la-ares_parse_mx_reply.lo
# CC libcares_la-ares_parse_naptr_reply.lo
# CC libcares_la-ares_parse_ns_reply.lo
# CC libcares_la-ares_parse_ptr_reply.lo
# CC libcares_la-ares_parse_soa_reply.lo
# CC libcares_la-ares_parse_srv_reply.lo
# CC libcares_la-ares_parse_txt_reply.lo
# CC libcares_la-ares_platform.lo
# CC libcares_la-ares_process.lo
# CC libcares_la-ares_query.lo
# CC libcares_la-ares_search.lo
# CC libcares_la-ares_send.lo
# CC libcares_la-ares_strcasecmp.lo
# CC libcares_la-ares_strdup.lo
# CC libcares_la-ares_strerror.lo
# CC libcares_la-ares_timeout.lo
# CC libcares_la-ares_version.lo
# CC libcares_la-ares_writev.lo
# CC libcares_la-bitncmp.lo
# CC libcares_la-inet_net_pton.lo
# CC libcares_la-inet_ntop.lo
# CC libcares_la-windows_port.lo
# CC ahost-ahost.o
# CC ahost-ares_getopt.o
# CC ahost-ares_nowarn.o
# CC ahost-ares_strcasecmp.o
# CC adig-adig.o
# CC adig-ares_getopt.o
# CC adig-ares_nowarn.o
# CC adig-ares_strcasecmp.o
# CC acountry-acountry.o
# acountry.c:276:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
# { 248, "ax", "land Island" },
# ^~~~
# CC acountry-ares_getopt.o
# CC acountry-ares_nowarn.o
# CC acountry-ares_strcasecmp.o
# CCLD libcares.la
# 1 warning generated.
# /sysroot/bin/ar: `u' modifier ignored since `D' is the default (see `U')
# CCLD acountry
# CCLD ahost
# CCLD adig
# make[2]: Leaving directory '/tmp/c-ares/src/c-ares-1.11.0'
# make[1]: Leaving directory '/tmp/c-ares/src/c-ares-1.11.0'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make[1]: Entering directory '/tmp/c-ares/src/c-ares-1.11.0'
# make[2]: Entering directory '/tmp/c-ares/src/c-ares-1.11.0'
# /usr/sbin/mkdir -p '/tmp/c-ares/pkg/c-ares/usr/lib/pkgconfig'
# /usr/sbin/mkdir -p '/tmp/c-ares/pkg/c-ares/usr/lib'
# /usr/sbin/mkdir -p '/tmp/c-ares/pkg/c-ares/usr/share/man/man3'
# /usr/sbin/mkdir -p '/tmp/c-ares/pkg/c-ares/usr/include'
# /bin/sh ./libtool --mode=install /usr/bin/install -c libcares.la '/tmp/c-ares/pkg/c-ares/usr/lib'
# /usr/bin/install -c -m 644 libcares.pc '/tmp/c-ares/pkg/c-ares/usr/lib/pkgconfig'
# /usr/bin/install -c -m 644 ares.h ares_version.h ares_dns.h ares_build.h ares_rules.h '/tmp/c-ares/pkg/c-ares/usr/include'
# /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_get_servers_ports.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_local_dev.3 ares_set_local_ip4.3 ares_set_local_ip6.3 '/tmp/c-ares/pkg/c-ares/usr/share/man/man3'
# /usr/bin/install -c -m 644 ares_set_servers.3 ares_set_servers_csv.3 ares_set_servers_ports.3 ares_set_servers_ports_csv.3 ares_set_socket_callback.3 ares_set_socket_configure_callback.3 ares_set_sortlist.3 ares_strerror.3 ares_timeout.3 ares_version.3 ares_inet_pton.3 ares_inet_ntop.3 '/tmp/c-ares/pkg/c-ares/usr/share/man/man3'
# libtool: install: /usr/bin/install -c .libs/libcares.so.2.1.0 /tmp/c-ares/pkg/c-ares/usr/lib/libcares.so.2.1.0
# libtool: install: (cd /tmp/c-ares/pkg/c-ares/usr/lib && { ln -s -f libcares.so.2.1.0 libcares.so.2 || { rm -f libcares.so.2 && ln -s libcares.so.2.1.0 libcares.so.2; }; })
# libtool: install: (cd /tmp/c-ares/pkg/c-ares/usr/lib && { ln -s -f libcares.so.2.1.0 libcares.so || { rm -f libcares.so && ln -s libcares.so.2.1.0 libcares.so; }; })
# libtool: install: /usr/bin/install -c .libs/libcares.lai /tmp/c-ares/pkg/c-ares/usr/lib/libcares.la
# libtool: install: /usr/bin/install -c .libs/libcares.a /tmp/c-ares/pkg/c-ares/usr/lib/libcares.a
# libtool: install: chmod 644 /tmp/c-ares/pkg/c-ares/usr/lib/libcares.a
# libtool: install: ranlib /tmp/c-ares/pkg/c-ares/usr/lib/libcares.a
# libtool: warning: remember to run 'libtool --finish /usr/lib'
# make[2]: Leaving directory '/tmp/c-ares/src/c-ares-1.11.0'
# make[1]: Leaving directory '/tmp/c-ares/src/c-ares-1.11.0'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "c-ares"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: c-ares 1.11.0-1 (Wed Apr 5 00:21:04 UTC 2017)

CMD: pacman --query --file c-ares-1.11.0-1-x86_64.pkg.tar.xz
# c-ares 1.11.0-1

Creating hybrid package for 'c-ares'

Trying to find vanilla package 'c-ares'...

CMD: pacman --query --file /mirror/c-ares-1.11.0-1.pkg.tar.xz
# c-ares 1.11.0-1

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/lib/libcares.so.2
# /usr/lib/libcares.so
# /usr/lib/libcares.so.2.1.0
# /usr/lib/pkgconfig/libcares.pc
# /usr/share/man/man3/ares_cancel.3.gz
# /usr/share/man/man3/ares_destroy.3.gz
# /usr/share/man/man3/ares_destroy_options.3.gz
# /usr/share/man/man3/ares_dup.3.gz
# /usr/share/man/man3/ares_expand_name.3.gz
# /usr/share/man/man3/ares_expand_string.3.gz
# /usr/share/man/man3/ares_fds.3.gz
# /usr/share/man/man3/ares_free_data.3.gz
# /usr/share/man/man3/ares_free_hostent.3.gz
# /usr/share/man/man3/ares_free_string.3.gz
# /usr/share/man/man3/ares_get_servers.3.gz
# /usr/share/man/man3/ares_get_servers_ports.3.gz
# /usr/share/man/man3/ares_gethostbyaddr.3.gz
# /usr/share/man/man3/ares_gethostbyname.3.gz
# /usr/share/man/man3/ares_gethostbyname_file.3.gz
# /usr/share/man/man3/ares_getnameinfo.3.gz
# /usr/share/man/man3/ares_getsock.3.gz
# /usr/share/man/man3/ares_init.3.gz
# /usr/share/man/man3/ares_init_options.3.gz
# /usr/share/man/man3/ares_library_cleanup.3.gz
# /usr/share/man/man3/ares_library_init.3.gz
# /usr/share/man/man3/ares_mkquery.3.gz
# /usr/share/man/man3/ares_create_query.3.gz
# /usr/share/man/man3/ares_parse_a_reply.3.gz
# /usr/share/man/man3/ares_parse_aaaa_reply.3.gz
# /usr/share/man/man3/ares_parse_mx_reply.3.gz
# /usr/share/man/man3/ares_parse_naptr_reply.3.gz
# /usr/share/man/man3/ares_parse_ns_reply.3.gz
# /usr/share/man/man3/ares_parse_ptr_reply.3.gz
# /usr/share/man/man3/ares_parse_soa_reply.3.gz
# /usr/share/man/man3/ares_parse_srv_reply.3.gz
# /usr/share/man/man3/ares_parse_txt_reply.3.gz
# /usr/share/man/man3/ares_process.3.gz
# /usr/share/man/man3/ares_query.3.gz
# /usr/share/man/man3/ares_save_options.3.gz
# /usr/share/man/man3/ares_search.3.gz
# /usr/share/man/man3/ares_send.3.gz
# /usr/share/man/man3/ares_set_local_dev.3.gz
# /usr/share/man/man3/ares_set_local_ip4.3.gz
# /usr/share/man/man3/ares_set_local_ip6.3.gz
# /usr/share/man/man3/ares_set_servers.3.gz
# /usr/share/man/man3/ares_set_servers_csv.3.gz
# /usr/share/man/man3/ares_set_servers_ports.3.gz
# /usr/share/man/man3/ares_set_servers_ports_csv.3.gz
# /usr/share/man/man3/ares_set_socket_callback.3.gz
# /usr/share/man/man3/ares_set_socket_configure_callback.3.gz
# /usr/share/man/man3/ares_set_sortlist.3.gz
# /usr/share/man/man3/ares_strerror.3.gz
# /usr/share/man/man3/ares_timeout.3.gz
# /usr/share/man/man3/ares_version.3.gz
# /usr/share/man/man3/ares_inet_pton.3.gz
# /usr/share/man/man3/ares_inet_ntop.3.gz
# /usr/share/licenses/c-ares/LICENSE
# /usr/include/ares.h
# /usr/include/ares_version.h
# /usr/include/ares_dns.h
# /usr/include/ares_build.h
# /usr/include/ares_rules.h
# /sysroot/usr/lib/libcares.so.2.1.0
# /sysroot/usr/lib/libcares.so.2
# /sysroot/usr/lib/libcares.so
# /sysroot/usr/lib/libcares.la
# /sysroot/usr/lib/libcares.a
# /sysroot/usr/lib/pkgconfig/libcares.pc
# /sysroot/usr/include/ares.h
# /sysroot/usr/include/ares_version.h
# /sysroot/usr/include/ares_dns.h
# /sysroot/usr/include/ares_build.h
# /sysroot/usr/include/ares_rules.h

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf c-ares.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/c-ares.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/c-ares.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/c-ares.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'

Printing config logfiles

CMD: config logfiles '/tmp/c-ares/src/c-ares-1.11.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.11.0, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --enable-shared
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 63a1c5162c51
# 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: /sysroot/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2815: checking whether to enable maintainer-specific portions of Makefiles
# configure:2824: result: no
# configure:2848: checking whether make supports nested variables
# configure:2865: result: yes
# configure:2878: checking whether to enable debug build options
# configure:2897: result: no
# configure:2901: checking whether to enable compiler optimizer
# configure:2922: result: not specified (assuming yes)
# configure:2934: checking whether to enable strict compiler warnings
# configure:2953: result: no
# configure:2957: checking whether to enable compiler warnings as errors
# configure:2976: result: no
# configure:2980: checking whether to enable curl debug memory tracking
# configure:2999: result: no
# configure:3003: checking whether to enable hiding of library internal symbols
# configure:3019: result: yes
# configure:3030: checking whether to expose internal static functions for testing
# configure:3046: result: no
# configure:3082: checking for path separator
# configure:3084: result: :
# configure:3097: checking for sed
# configure:3116: found /usr/sbin/sed
# configure:3129: result: /usr/sbin/sed
# configure:3144: checking for grep
# configure:3163: found /usr/sbin/grep
# configure:3176: result: /usr/sbin/grep
# configure:3190: checking for egrep
# configure:3193: result: /usr/sbin/grep -E
# configure:3247: checking for x86_64-unknown-linux-ar
# configure:3281: result: no
# configure:3291: checking for ar
# configure:3310: found /sysroot/bin/ar
# configure:3322: result: /sysroot/bin/ar
# configure:3349: checking for a sed that does not truncate output
# configure:3413: result: /usr/sbin/sed
# configure:3431: checking whether to build with code coverage support
# configure:3451: result: no
# configure:3799: checking build system type
# configure:3813: result: x86_64-pc-linux-gnu
# configure:3833: checking host system type
# configure:3846: result: x86_64-unknown-linux-gnu
# configure:4059: checking for a BSD-compatible install
# configure:4127: result: /usr/bin/install -c
# configure:4149: checking for x86_64-unknown-linux-gcc
# configure:4176: result: clang
# configure:4445: checking for C compiler version
# configure:4454: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:4465: $? = 0
# configure:4454: clang -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:4465: $? = 0
# configure:4454: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:4465: $? = 1
# configure:4454: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:4465: $? = 1
# configure:4484: checking whether the C compiler works
# configure:4506: clang conftest.c >&5
# configure:4510: $? = 0
# configure:4558: result: yes
# configure:4561: checking for C compiler default output file name
# configure:4563: result: a.out
# configure:4569: checking for suffix of executables
# configure:4576: clang -o conftest conftest.c >&5
# configure:4580: $? = 0
# configure:4602: result:
# configure:4623: checking whether we are cross compiling
# configure:4631: clang -o conftest conftest.c >&5
# configure:4635: $? = 0
# configure:4642: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:4646: $? = 127
# configure:4661: result: yes
# configure:4666: checking for suffix of object files
# configure:4687: clang -c conftest.c >&5
# configure:4691: $? = 0
# configure:4712: result: o
# configure:4716: checking whether we are using the GNU C compiler
# configure:4734: clang -c conftest.c >&5
# configure:4734: $? = 0
# configure:4743: result: yes
# configure:4752: checking whether clang accepts -g
# configure:4771: clang -c -g conftest.c >&5
# configure:4771: $? = 0
# configure:4810: result: yes
# configure:4827: checking for clang option to accept ISO C89
# configure:4889: clang -c conftest.c >&5
# configure:4889: $? = 0
# configure:4902: result: none needed
# configure:4927: checking whether clang understands -c and -o together
# configure:4948: clang -c conftest.c -o conftest2.o
# configure:4951: $? = 0
# configure:4948: clang -c conftest.c -o conftest2.o
# configure:4951: $? = 0
# configure:4963: result: yes
# configure:4986: checking how to run the C preprocessor
# configure:5017: clang -E conftest.c
# configure:5017: $? = 0
# configure:5031: clang -E conftest.c
# conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:5031: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define 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:5056: result: clang -E
# configure:5076: clang -E conftest.c
# configure:5076: $? = 0
# configure:5090: clang -E conftest.c
# conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:5090: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define 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:5132: checking whether build environment is sane
# configure:5187: result: yes
# configure:5243: checking for x86_64-unknown-linux-strip
# configure:5273: result: no
# configure:5283: checking for strip
# configure:5299: found /sysroot/bin/strip
# configure:5310: result: strip
# configure:5322: WARNING: using cross tools not prefixed with host triplet
# configure:5335: checking for a thread-safe mkdir -p
# configure:5374: result: /usr/sbin/mkdir -p
# configure:5381: checking for gawk
# configure:5397: found /usr/sbin/gawk
# configure:5408: result: gawk
# configure:5419: checking whether make sets $(MAKE)
# configure:5441: result: yes
# configure:5471: checking for style of include used by make
# configure:5499: result: GNU
# configure:5600: checking dependency style of clang
# configure:5711: result: gcc3
# configure:5777: checking for grep that handles long lines and -e
# configure:5835: result: /usr/sbin/grep
# configure:5840: checking for egrep
# configure:5902: result: /usr/sbin/grep -E
# configure:5909: checking if OS is AIX (to define _ALL_SOURCE)
# configure:5929: result: no
# configure:5939: checking if _THREAD_SAFE is already defined
# configure:5960: clang -c conftest.c >&5
# conftest.c:21:7: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# configure:5960: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | /* end confdefs.h. */
# |
# |
# |
# | int main (void)
# | {
# |
# | #ifdef _THREAD_SAFE
# | int dummy=1;
# | #else
# | force compilation error
# | #endif
# |
# | ;
# | return 0;
# | }
# |
# configure:5968: result: no
# configure:5976: checking if _THREAD_SAFE is actually needed
# configure:5995: result: no
# configure:6000: checking if _THREAD_SAFE is onwards defined
# configure:6017: result: no
# configure:6024: checking if _REENTRANT is already defined
# configure:6045: clang -c conftest.c >&5
# conftest.c:21:7: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# configure:6045: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | /* end confdefs.h. */
# |
# |
# |
# | int main (void)
# | {
# |
# | #ifdef _REENTRANT
# | int dummy=1;
# | #else
# | force compilation error
# | #endif
# |
# | ;
# | return 0;
# | }
# |
# configure:6053: result: no
# configure:6061: checking if _REENTRANT is actually needed
# configure:6092: clang -c conftest.c >&5
# configure:6092: $? = 0
# configure:6123: clang -c conftest.c >&5
# configure:6123: $? = 0
# configure:6194: clang -o conftest conftest.c >&5
# configure:6194: $? = 0
# configure:6273: clang -o conftest conftest.c >&5
# configure:6273: $? = 0
# configure:6352: clang -o conftest conftest.c >&5
# configure:6352: $? = 0
# configure:6431: clang -o conftest conftest.c >&5
# configure:6431: $? = 0
# configure:6510: clang -o conftest conftest.c >&5
# /tmp/conftest-ccb1a5.o:conftest.c:function main: error: undefined reference to 'inet_ntoa_r'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:6510: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | /* 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:6593: clang -o conftest conftest.c >&5
# configure:6593: $? = 0
# configure:6672: clang -o conftest conftest.c >&5
# configure:6672: $? = 0
# configure:6751: clang -o conftest conftest.c >&5
# /tmp/conftest-82ddfe.o:conftest.c:function main: error: undefined reference to 'getprotobyname_r'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:6751: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | /* end confdefs.h. */
# |
# |
# | #define getprotobyname_r innocuous_getprotobyname_r
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# | #undef getprotobyname_r
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char getprotobyname_r ();
# | #if defined __stub_getprotobyname_r || defined __stub___getprotobyname_r
# | choke me
# | #endif
# |
# | int main (void)
# | {
# | return getprotobyname_r ();
# | ;
# | return 0;
# | }
# |
# configure:6830: clang -o conftest conftest.c >&5
# configure:6830: $? = 0
# configure:6886: result: no
# configure:6891: checking if _REENTRANT is onwards defined
# configure:6908: result: no
# configure:6921: checking for special C compiler options needed for large files
# configure:6965: result: no
# configure:6971: checking for _FILE_OFFSET_BITS value needed for large files
# configure:6995: clang -c conftest.c >&5
# configure:6995: $? = 0
# configure:7026: result: no
# configure:7164: checking how to print strings
# configure:7191: result: printf
# configure:7212: checking for a sed that does not truncate output
# configure:7276: result: /usr/sbin/sed
# configure:7294: checking for fgrep
# configure:7356: result: /usr/sbin/grep -F
# configure:7391: checking for ld used by clang
# configure:7458: result: /sysroot/bin/ld
# configure:7465: checking if the linker (/sysroot/bin/ld) is GNU ld
# configure:7480: result: yes
# configure:7492: checking for BSD- or MS-compatible name lister (nm)
# configure:7546: result: no
# configure:7560: checking for x86_64-unknown-linux-dumpbin
# configure:7590: result: no
# configure:7560: checking for x86_64-unknown-linux-link
# configure:7590: result: no
# configure:7604: checking for dumpbin
# configure:7634: result: no
# configure:7604: checking for link
# configure:7620: found /usr/sbin/link
# configure:7631: result: link -dump
# configure:7676: checking the name lister (nm) interface
# configure:7683: clang -c conftest.c >&5
# configure:7686: nm "conftest.o"
# configure:7689: output
# 0000000000000000 B some_variable
# configure:7696: result: BSD nm
# configure:7699: checking whether ln -s works
# configure:7703: result: yes
# configure:7711: checking the maximum length of command line arguments
# configure:7842: result: 1572864
# configure:7890: checking how to convert x86_64-pc-linux-gnu file names to x86_64-unknown-linux-gnu format
# configure:7930: result: func_convert_file_noop
# configure:7937: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
# configure:7957: result: func_convert_file_noop
# configure:7964: checking for /sysroot/bin/ld option to reload object files
# configure:7971: result: -r
# configure:8005: checking for x86_64-unknown-linux-objdump
# configure:8035: result: no
# configure:8045: checking for objdump
# configure:8061: found /sysroot/bin/objdump
# configure:8072: result: objdump
# configure:8101: checking how to recognize dependent libraries
# configure:8301: result: pass_all
# configure:8346: checking for x86_64-unknown-linux-dlltool
# configure:8376: result: no
# configure:8386: checking for dlltool
# configure:8416: result: no
# configure:8443: checking how to associate runtime and link libraries
# configure:8470: result: printf %s\n
# configure:8486: checking for x86_64-unknown-linux-ar
# configure:8513: result: /sysroot/bin/ar
# configure:8594: checking for archiver @FILE support
# configure:8610: clang -c conftest.c >&5
# configure:8610: $? = 0
# configure:8613: /sysroot/bin/ar cru libconftest.a @conftest.lst >&5
# /sysroot/bin/ar: `u' modifier ignored since `D' is the default (see `U')
# configure:8616: $? = 0
# configure:8621: /sysroot/bin/ar cru libconftest.a @conftest.lst >&5
# /sysroot/bin/ar: `u' modifier ignored since `D' is the default (see `U')
# /sysroot/bin/ar: conftest.o: No such file or directory
# configure:8624: $? = 1
# configure:8636: result: @
# configure:8654: checking for x86_64-unknown-linux-strip
# configure:8681: result: strip
# configure:8753: checking for x86_64-unknown-linux-ranlib
# configure:8783: result: no
# configure:8793: checking for ranlib
# configure:8809: found /sysroot/bin/ranlib
# configure:8820: result: ranlib
# configure:8922: checking command to parse nm output from clang object
# configure:9075: clang -c conftest.c >&5
# configure:9078: $? = 0
# configure:9082: nm 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:9085: $? = 0
# configure:9151: clang -o conftest conftest.c conftstm.o >&5
# configure:9154: $? = 0
# configure:9192: result: ok
# configure:9239: checking for sysroot
# configure:9269: result: no
# configure:9276: checking for a working dd
# configure:9314: result: /usr/sbin/dd
# configure:9318: checking how to truncate binary pipes
# configure:9333: result: /usr/sbin/dd bs=4096 count=1
# configure:9469: clang -c conftest.c >&5
# configure:9472: $? = 0
# configure:9621: checking for x86_64-unknown-linux-mt
# configure:9651: result: no
# configure:9661: checking for mt
# configure:9691: result: no
# configure:9711: checking if : is a manifest tool
# configure:9717: : '-?'
# configure:9725: result: no
# configure:10396: checking for ANSI C header files
# configure:10415: clang -c conftest.c >&5
# configure:10415: $? = 0
# configure:10499: result: yes
# configure:10512: checking for sys/types.h
# configure:10512: clang -c conftest.c >&5
# configure:10512: $? = 0
# configure:10512: result: yes
# configure:10512: checking for sys/stat.h
# configure:10512: clang -c conftest.c >&5
# configure:10512: $? = 0
# configure:10512: result: yes
# configure:10512: checking for stdlib.h
# configure:10512: clang -c conftest.c >&5
# configure:10512: $? = 0
# configure:10512: result: yes
# configure:10512: checking for string.h
# configure:10512: clang -c conftest.c >&5
# configure:10512: $? = 0
# configure:10512: result: yes
# configure:10512: checking for memory.h
# configure:10512: clang -c conftest.c >&5
# configure:10512: $? = 0
# configure:10512: result: yes
# configure:10512: checking for strings.h
# configure:10512: clang -c conftest.c >&5
# configure:10512: $? = 0
# configure:10512: result: yes
# configure:10512: checking for inttypes.h
# configure:10512: clang -c conftest.c >&5
# configure:10512: $? = 0
# configure:10512: result: yes
# configure:10512: checking for stdint.h
# configure:10512: clang -c conftest.c >&5
# configure:10512: $? = 0
# configure:10512: result: yes
# configure:10512: checking for unistd.h
# configure:10512: clang -c conftest.c >&5
# configure:10512: $? = 0
# configure:10512: result: yes
# configure:10526: checking for dlfcn.h
# configure:10526: clang -c conftest.c >&5
# configure:10526: $? = 0
# configure:10526: result: yes
# configure:11187: checking for objdir
# configure:11202: result: .libs
# configure:11466: checking if clang supports -fno-rtti -fno-exceptions
# configure:11484: clang -c -fno-rtti -fno-exceptions conftest.c >&5
# configure:11488: $? = 0
# configure:11501: result: yes
# configure:11859: checking for clang option to produce PIC
# configure:11866: result: -fPIC -DPIC
# configure:11874: checking if clang PIC flag -fPIC -DPIC works
# configure:11892: clang -c -fPIC -DPIC -DPIC conftest.c >&5
# configure:11896: $? = 0
# configure:11909: result: yes
# configure:11938: checking if clang static flag -static works
# configure:11966: result: no
# configure:11981: checking if clang supports -c -o file.o
# configure:12002: clang -c -o out/conftest2.o conftest.c >&5
# configure:12006: $? = 0
# configure:12028: result: yes
# configure:12036: checking if clang supports -c -o file.o
# configure:12083: result: yes
# configure:12116: checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:13377: result: yes
# configure:13414: checking whether -lc should be explicitly linked in
# configure:13422: clang -c conftest.c >&5
# configure:13425: $? = 0
# configure:13440: clang -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep -lc \>/dev/null 2\>\&1
# configure:13443: $? = 0
# configure:13457: result: no
# configure:13617: checking dynamic linker characteristics
# configure:14197: clang -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
# configure:14197: $? = 0
# configure:14446: result: GNU/Linux ld.so
# configure:14568: checking how to hardcode library paths into programs
# configure:14593: result: immediate
# configure:15126: checking whether stripping libraries is possible
# configure:15131: result: yes
# configure:15166: checking if libtool supports shared libraries
# configure:15168: result: yes
# configure:15171: checking whether to build shared libraries
# configure:15196: result: yes
# configure:15199: checking whether to build static libraries
# configure:15203: result: yes
# configure:15274: checking whether to build shared libraries with -version-info
# configure:15285: result: yes
# configure:15292: checking whether to build shared libraries with -no-undefined
# configure:15305: result: no
# configure:15312: checking whether to build shared libraries with -mimpure-text
# configure:15322: result: no
# configure:15349: checking whether to build shared libraries with PIC
# configure:15351: result: yes
# configure:15353: checking whether to build static libraries with PIC
# configure:15355: result: yes
# configure:15362: checking whether to build shared libraries only
# configure:15370: result: no
# configure:15377: checking whether to build static libraries only
# configure:15385: result: no
# configure:15473: checking if compiler is DEC/Compaq/HP C
# configure:15494: clang -E conftest.c
# configure:15494: $? = 0
# configure:15534: clang -E conftest.c
# configure:15534: $? = 0
# configure:15567: result: no
# configure:15572: checking if compiler is HP-UX C
# configure:15593: clang -E conftest.c
# configure:15593: $? = 0
# configure:15625: result: no
# configure:15630: checking if compiler is IBM C
# configure:15651: clang -E conftest.c
# configure:15651: $? = 0
# configure:15691: result: no
# configure:15696: checking if compiler is Intel C
# configure:15717: clang -E conftest.c
# configure:15717: $? = 0
# configure:15807: result: no
# configure:15812: checking if compiler is clang
# configure:15833: clang -E conftest.c
# configure:15833: $? = 0
# configure:15855: result: yes
# configure:15881: checking if compiler is GNU C
# configure:15902: clang -E conftest.c
# configure:15902: $? = 0
# configure:15986: result: no
# configure:15991: checking if compiler is LCC
# configure:16012: clang -E conftest.c
# configure:16012: $? = 0
# configure:16044: result: no
# configure:16049: checking if compiler is SGI MIPSpro C
# configure:16070: clang -E conftest.c
# configure:16070: $? = 0
# configure:16110: clang -E conftest.c
# configure:16110: $? = 0
# configure:16150: clang -E conftest.c
# configure:16150: $? = 0
# configure:16184: result: no
# configure:16189: checking if compiler is SGI MIPS C
# configure:16210: clang -E conftest.c
# configure:16210: $? = 0
# configure:16250: clang -E conftest.c
# configure:16250: $? = 0
# configure:16284: result: no
# configure:16289: checking if compiler is SunPro C
# configure:16310: clang -E conftest.c
# configure:16310: $? = 0
# configure:16342: result: no
# configure:16347: checking if compiler is Tiny C
# configure:16368: clang -E conftest.c
# configure:16368: $? = 0
# configure:16400: result: no
# configure:16405: checking if compiler is Watcom C
# configure:16426: clang -E conftest.c
# configure:16426: $? = 0
# configure:16508: result: no
# configure:16678: checking if compiler accepts some basic options
# configure:16702: clang -c -Qunused-arguments conftest.c >&5
# configure:16702: $? = 0
# configure:16732: clang -o conftest -Qunused-arguments conftest.c >&5
# configure:16732: $? = 0
# configure:16793: result: yes
# configure:16795: compiler options added: -Qunused-arguments
# configure:16862: checking if compiler accepts debug disabling options
# configure:16894: clang -c -Qunused-arguments -g0 conftest.c >&5
# configure:16894: $? = 0
# configure:16924: clang -o conftest -Qunused-arguments -g0 conftest.c >&5
# configure:16924: $? = 0
# configure:16985: result: yes
# configure:16987: compiler options added: -g0
# configure:17019: checking if compiler optimizer assumed setting might be used
# configure:17057: result: yes
# configure:17103: checking if compiler accepts optimizer enabling options
# configure:17139: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:17139: $? = 0
# configure:17169: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:17169: $? = 0
# configure:17230: result: yes
# configure:17232: compiler options added: -Os
# configure:17632: checking if compiler halts on compilation errors
# configure:17649: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:30:7: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# configure:17649: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #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:17657: result: yes
# configure:17664: checking if compiler halts on negative sized arrays
# configure:17682: clang -c -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:17682: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #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:17690: result: yes
# configure:17697: checking if compiler halts on function prototype mismatch
# configure:17726: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:27:11: error: conflicting types for 'rand'
# int rand(int n);
# ^
# /sysroot/include/stdlib.h:35:5: note: previous declaration is here
# int rand (void);
# ^
# conftest.c:28:11: error: conflicting types for 'rand'
# int rand(int n)
# ^
# /sysroot/include/stdlib.h:35:5: note: previous declaration is here
# int rand (void);
# ^
# conftest.c:40:20: error: too many arguments to function call, expected 0, have 1
# int j = rand(i[0]);
# ~~~~ ^~~~
# /sysroot/include/stdlib.h:35:1: note: 'rand' declared here
# int rand (void);
# ^
# 3 errors generated.
# configure:17726: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #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:17734: result: yes
# configure:17741: checking if compiler supports hiding library internal symbols
# configure:17835: clang -c -Qunused-arguments -g0 -Os -fvisibility=hidden conftest.c >&5
# configure:17835: $? = 0
# configure:17858: result: yes
# configure:17970: checking for windows.h
# configure:18000: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:30:10: fatal error: 'windows.h' file not found
# #include
# ^
# 1 error generated.
# configure:18000: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #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:18012: result: no
# configure:18030: checking whether build target is a native Windows one
# configure:18072: result: no
# configure:18264: checking if X/Open network library is required
# configure:18284: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:33:3: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# configure:18284: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #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:18291: result: no
# configure:18295: checking for gethostbyname
# configure:18295: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:18295: $? = 0
# configure:18295: result: yes
# configure:18714: checking for strcasecmp
# configure:18714: clang -o conftest -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:18714: $? = 0
# configure:18714: result: yes
# configure:18822: checking for windows.h
# configure:18864: result: no
# configure:18882: checking for winsock.h
# configure:18925: result: no
# configure:18938: checking for winsock2.h
# configure:18981: result: no
# configure:18995: checking for connect in libraries
# configure:19022: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19022: $? = 0
# configure:19040: result: yes
# configure:19051: checking whether time.h and sys/time.h may both be included
# configure:19070: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19070: $? = 0
# configure:19077: result: yes
# configure:19089: checking for sys/types.h
# configure:19089: result: yes
# configure:19089: checking sys/time.h usability
# configure:19089: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19089: $? = 0
# configure:19089: result: yes
# configure:19089: checking sys/time.h presence
# configure:19089: clang -E conftest.c
# configure:19089: $? = 0
# configure:19089: result: yes
# configure:19089: checking for sys/time.h
# configure:19089: result: yes
# configure:19089: checking time.h usability
# configure:19089: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19089: $? = 0
# configure:19089: result: yes
# configure:19089: checking time.h presence
# configure:19089: clang -E conftest.c
# configure:19089: $? = 0
# configure:19089: result: yes
# configure:19089: checking for time.h
# configure:19089: result: yes
# configure:19099: checking for monotonic clock_gettime
# configure:19130: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19130: $? = 0
# configure:19132: result: yes
# configure:19149: checking for clock_gettime in libraries
# configure:19191: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19191: $? = 0
# configure:19212: result: no additional lib required
# configure:19308: checking whether to use libgcc
# configure:19323: result: no
# configure:19333: checking for ANSI C header files
# configure:19436: result: yes
# configure:19446: checking for malloc.h
# configure:19471: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19471: $? = 0
# configure:19483: result: yes
# configure:19511: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19511: $? = 0
# configure:19534: checking for memory.h
# configure:19571: result: yes
# configure:19599: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19599: $? = 0
# configure:19645: checking for sys/types.h
# configure:19645: result: yes
# configure:19645: checking for sys/time.h
# configure:19645: result: yes
# configure:19645: checking for sys/select.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for sys/socket.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for sys/ioctl.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for sys/param.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for sys/uio.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for assert.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for netdb.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for netinet/in.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for netinet/tcp.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for net/if.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for errno.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for socket.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:65:10: fatal error: 'socket.h' file not found
# #include
# ^
# 1 error generated.
# configure:19645: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 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:19645: result: no
# configure:19645: checking for strings.h
# configure:19645: result: yes
# configure:19645: checking for stdbool.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for time.h
# configure:19645: result: yes
# configure:19645: checking for limits.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for arpa/nameser.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for arpa/nameser_compat.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19645: checking for arpa/inet.h
# configure:19645: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19645: $? = 0
# configure:19645: result: yes
# configure:19675: checking for an ANSI C-conforming const
# configure:19740: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19740: $? = 0
# configure:19747: result: yes
# configure:19755: checking for size_t
# configure:19755: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19755: $? = 0
# configure:19755: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:87:21: error: expected expression
# if (sizeof ((size_t)))
# ^
# 1 error generated.
# configure:19755: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #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:19755: result: yes
# configure:19766: checking whether time.h and sys/time.h may both be included
# configure:19792: result: yes
# configure:19804: checking for sys/types.h
# configure:19804: result: yes
# configure:19804: checking for sys/time.h
# configure:19804: result: yes
# configure:19804: checking for time.h
# configure:19804: result: yes
# configure:19804: checking for sys/socket.h
# configure:19804: result: yes
# configure:19814: checking for struct timeval
# configure:19867: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19867: $? = 0
# configure:19879: result: yes
# configure:19896: checking size of size_t
# configure:19901: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19901: $? = 0
# configure:19901: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:93:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 0)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:19901: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 0)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:19901: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:93:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 1)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:19901: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 1)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:19901: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:93:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 3)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:19901: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 3)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:19901: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:93:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 7)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:19901: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 7)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:19901: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19901: $? = 0
# configure:19901: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19901: $? = 0
# configure:19901: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19901: $? = 0
# configure:19901: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19901: $? = 0
# configure:19915: result: 8
# configure:19929: checking size of long
# configure:19934: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19934: $? = 0
# configure:19934: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:94:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:19934: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:19934: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:94:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:19934: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:19934: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:94:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:19934: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:19934: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:94:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 7)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:19934: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 7)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:19934: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19934: $? = 0
# configure:19934: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19934: $? = 0
# configure:19934: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19934: $? = 0
# configure:19934: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19934: $? = 0
# configure:19948: result: 8
# configure:19962: checking size of int
# configure:19967: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19967: $? = 0
# configure:19967: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:95:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:19967: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #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 (void)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:19967: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:95:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:19967: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #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 (void)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:19967: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:95:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:19967: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #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 (void)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:19967: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19967: $? = 0
# configure:19967: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19967: $? = 0
# configure:19967: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:19967: $? = 0
# configure:19981: result: 4
# configure:19995: checking size of short
# configure:20000: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20000: $? = 0
# configure:20000: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:96:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 0)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:20000: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 0)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:20000: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:96:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 1)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:20000: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 1)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:20000: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20000: $? = 0
# configure:20000: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20000: $? = 0
# configure:20014: result: 2
# configure:20028: checking size of time_t
# configure:20033: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20033: $? = 0
# configure:20033: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:97:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 0)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:20033: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 0)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:20033: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:97:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 1)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:20033: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 1)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:20033: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:97:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 3)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:20033: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 3)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:20033: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:97:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 7)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:20033: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | /* 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)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 7)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:20033: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20033: $? = 0
# configure:20033: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20033: $? = 0
# configure:20033: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20033: $? = 0
# configure:20033: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20033: $? = 0
# configure:20047: result: 8
# configure:20058: checking for long long
# configure:20058: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20058: $? = 0
# configure:20058: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:98:24: error: expected expression
# if (sizeof ((long long)))
# ^
# 1 error generated.
# configure:20058: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #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:20058: result: yes
# configure:20069: checking if numberLL works
# configure:20086: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20086: $? = 0
# configure:20088: result: yes
# configure:20105: checking for ssize_t
# configure:20105: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20105: $? = 0
# configure:20105: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:100:22: error: expected expression
# if (sizeof ((ssize_t)))
# ^
# 1 error generated.
# configure:20105: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #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:20105: result: yes
# configure:20116: checking for bool
# configure:20116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20116: $? = 0
# configure:20116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:76:19: error: expected expression
# if (sizeof ((bool)))
# ^
# 1 error generated.
# configure:20116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #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:20116: result: yes
# configure:20151: checking for windows.h
# configure:20193: result: no
# configure:20211: checking for winsock2.h
# configure:20254: result: no
# configure:20267: checking for ws2tcpip.h
# configure:20311: result: no
# configure:20337: checking for sys/types.h
# configure:20337: result: yes
# configure:20337: checking for sys/socket.h
# configure:20337: result: yes
# configure:20361: checking for ares_socklen_t data type
# configure:20389: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20389: $? = 0
# configure:20426: result: socklen_t
# configure:20433: checking size of ares_socklen_t
# configure:20479: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:71:21: error: unknown type name 'socklen_t'
# typedef socklen_t ares_socklen_t;
# ^
# 1 error generated.
# configure:20479: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define 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:20479: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:71:21: error: unknown type name 'socklen_t'
# typedef socklen_t ares_socklen_t;
# ^
# 1 error generated.
# configure:20479: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define 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:20479: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20479: $? = 0
# configure:20489: result: 4
# configure:20536: checking for in_addr_t
# configure:20536: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20536: $? = 0
# configure:20536: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:24: error: expected expression
# if (sizeof ((in_addr_t)))
# ^
# 1 error generated.
# configure:20536: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_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:20536: result: yes
# configure:20652: checking for struct sockaddr_storage
# configure:20652: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20652: $? = 0
# configure:20652: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:100:38: error: expected expression
# if (sizeof ((struct sockaddr_storage)))
# ^
# 1 error generated.
# configure:20652: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_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:20652: result: yes
# configure:20689: checking signal.h usability
# configure:20689: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20689: $? = 0
# configure:20689: result: yes
# configure:20689: checking signal.h presence
# configure:20689: clang -E conftest.c
# configure:20689: $? = 0
# configure:20689: result: yes
# configure:20689: checking for signal.h
# configure:20689: result: yes
# configure:20699: checking for sig_atomic_t
# configure:20699: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20699: $? = 0
# configure:20699: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:82:27: error: expected expression
# if (sizeof ((sig_atomic_t)))
# ^
# 1 error generated.
# configure:20699: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_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:20699: result: yes
# configure:20716: checking if sig_atomic_t is already defined as volatile
# configure:20736: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20736: $? = 0
# configure:20738: result: no
# configure:20761: checking return type of signal handlers
# configure:20778: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:80:8: error: indirection requires pointer operand ('void' invalid)
# return *(signal (0, 0)) (0) == 1;
# ^~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:20778: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #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:20785: result: void
# configure:20798: checking for sys/types.h
# configure:20798: result: yes
# configure:20798: checking for sys/socket.h
# configure:20798: result: yes
# configure:20809: checking for recv
# configure:20847: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20847: $? = 0
# configure:20849: result: yes
# configure:20864: checking types of args and return type for recv
# configure:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, void *, int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(ssize_t, void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, char *, size_t, int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, char *, size_t, unsigned int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, char *, int, int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, char *, int, unsigned int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, char *, socklen_t, int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, char *, socklen_t, unsigned int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, char *, unsigned int, int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, char *, unsigned int, unsigned int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, void *, size_t, int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, void *, size_t, unsigned int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, void *, int, int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, void *, int, unsigned int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, void *, socklen_t, int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, void *, socklen_t, unsigned int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, void *, unsigned int, int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:36: error: expected identifier
# recv(SOCKET, void *, unsigned int, unsigned int);
# ^
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(SOCKET, void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# conftest.c:109:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:113:38: error: use of undeclared identifier 's'
# int res = recv(s, buf, len, flags);
# ^
# 4 errors generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:104:23: error: conflicting types for 'recv'
# recv(int, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:308:9: note: previous declaration is here
# ssize_t recv (int, void *, size_t, int);
# ^
# 1 error generated.
# configure:20921: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_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:20921: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:20921: $? = 0
# configure:20935: result: int,void *,size_t,int,ssize_t
# configure:20986: checking for sys/types.h
# configure:20986: result: yes
# configure:20986: checking for sys/socket.h
# configure:20986: result: yes
# configure:20997: checking for recvfrom
# configure:21035: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21035: $? = 0
# configure:21037: result: yes
# configure:21052: checking types of args and return type for recvfrom
# configure:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(ssize_t, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, char *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:44: error: expected identifier
# recvfrom(SOCKET, void *,
# ^
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(SOCKET, void *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:119:27: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:126:42: error: use of undeclared identifier 's'
# res = recvfrom(s, buf, len, flags, addr, addrlen);
# ^
# 4 errors generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #endif
# | #endif
# | #define 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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~~~~
# /sysroot/include/sys/socket.h:310:105: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 2 warnings and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:112:27: error: conflicting types for 'recvfrom'
# recvfrom(int, char *,
# ^
# /sysroot/include/sys/socket.h:310:9: note: previous declaration is here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# conftest.c:126: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);
# ^~~~
# /sysroot/include/sys/socket.h:310:82: note: passing argument to parameter here
# ssize_t recvfrom (int, void *__restrict, size_t, int, struct sockaddr *__restrict, socklen_t *__restrict);
# ^
# 1 warning and 1 error generated.
# configure:21116: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_ARG4 int
# | #define RECV_TYPE_RETV ssize_t
# | #define HAVE_RECV 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | /* end confdefs.h. */
# |
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #else
# | #ifdef HAVE_WINSOCK_H
# | #include
# | #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:21116: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21116: $? = 0
# configure:21132: result: int,void *,size_t,int,struct sockaddr *,socklen_t *,ssize_t
# configure:21270: checking for sys/types.h
# configure:21270: result: yes
# configure:21270: checking for sys/socket.h
# configure:21270: result: yes
# configure:21281: checking for send
# configure:21319: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21319: $? = 0
# configure:21321: result: yes
# configure:21336: checking types of args and return type for send
# configure:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const void *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, void *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const void *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(ssize_t, const void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, char *, size_t, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, char *, size_t, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, char *, int, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, char *, int, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, char *, socklen_t, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, char *, socklen_t, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, char *, unsigned int, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, char *, unsigned int, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, void *, size_t, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, void *, size_t, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, void *, int, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, void *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, void *, int, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, void *, socklen_t, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, void *, socklen_t, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, void *, unsigned int, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, void *, unsigned int, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const char *, size_t, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const char *, size_t, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const char *, int, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const char *, int, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const char *, socklen_t, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const char *, socklen_t, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const char *, unsigned int, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const char *, unsigned int, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const void *, size_t, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const void *, size_t, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const void *, int, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const void *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const void *, int, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const void *, socklen_t, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const void *, socklen_t, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const void *, unsigned int, int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:36: error: expected identifier
# send(SOCKET, const void *, unsigned int, unsigned int);
# ^
# conftest.c:125:23: error: conflicting types for 'send'
# send(SOCKET, const void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# conftest.c:130:23: error: use of undeclared identifier 'SOCKET'
# SOCKET s=0;
# ^
# conftest.c:133:38: error: use of undeclared identifier 's'
# int res = send(s, 0, len, flags);
# ^
# 4 errors generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, void *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, size_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, size_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, socklen_t, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:125:23: error: conflicting types for 'send'
# send(int, const char *, unsigned int, unsigned int);
# ^
# /sysroot/include/sys/socket.h:307:9: note: previous declaration is here
# ssize_t send (int, const void *, size_t, int);
# ^
# 1 error generated.
# configure:21392: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21392: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21392: $? = 0
# configure:21406: result: int,const void *,size_t,int,ssize_t
# configure:21494: checking for sys/types.h
# configure:21494: result: yes
# configure:21494: checking for sys/socket.h
# configure:21494: result: yes
# configure:21504: checking for MSG_NOSIGNAL
# configure:21546: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21546: $? = 0
# configure:21558: result: yes
# configure:21584: checking for sys/types.h
# configure:21584: result: yes
# configure:21584: checking for socket.h
# configure:21584: result: no
# configure:21603: checking if closesocket can be linked
# configure:21623: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:139:15: warning: implicit declaration of function 'closesocket' is invalid in C99 [-Wimplicit-function-declaration]
# if(0 != closesocket(0))
# ^
# 1 warning generated.
# /tmp/conftest-c8f8b2.o:conftest.c:function main: error: undefined reference to 'closesocket'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:21623: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21631: result: no
# configure:21718: checking if closesocket might be used
# configure:21733: result: no
# configure:21745: checking if CloseSocket can be linked
# configure:21764: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:124:15: warning: implicit declaration of function 'CloseSocket' is invalid in C99 [-Wimplicit-function-declaration]
# if(0 != CloseSocket(0))
# ^
# 1 warning generated.
# /tmp/conftest-b49ddb.o:conftest.c:function main: error: undefined reference to 'CloseSocket'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:21764: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:21772: result: no
# configure:21857: checking if CloseSocket might be used
# configure:21872: result: no
# configure:21884: checking if connect can be linked
# configure:21905: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21905: $? = 0
# configure:21907: result: yes
# configure:21922: checking if connect is prototyped
# configure:21935: result: yes
# configure:21951: checking if connect is compilable
# configure:21972: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:21972: $? = 0
# configure:21974: result: yes
# configure:21989: checking if connect usage allowed
# configure:21992: result: yes
# configure:22002: checking if connect might be used
# configure:22008: result: yes
# configure:22038: checking for sys/types.h
# configure:22038: result: yes
# configure:22038: checking for unistd.h
# configure:22038: result: yes
# configure:22038: checking for fcntl.h
# configure:22038: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22038: $? = 0
# configure:22038: result: yes
# configure:22057: checking if fcntl can be linked
# configure:22086: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22086: $? = 0
# configure:22088: result: yes
# configure:22103: checking if fcntl is prototyped
# configure:22114: result: yes
# configure:22130: checking if fcntl is compilable
# configure:22149: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22149: $? = 0
# configure:22151: result: yes
# configure:22166: checking if fcntl usage allowed
# configure:22169: result: yes
# configure:22179: checking if fcntl might be used
# configure:22185: result: yes
# configure:22205: checking if fcntl O_NONBLOCK is compilable
# configure:22225: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22225: $? = 0
# configure:22227: result: yes
# configure:22242: checking if fcntl O_NONBLOCK usage allowed
# configure:22245: result: yes
# configure:22255: checking if fcntl O_NONBLOCK might be used
# configure:22259: result: yes
# configure:22292: checking for sys/types.h
# configure:22292: result: yes
# configure:22292: checking for netdb.h
# configure:22292: result: yes
# configure:22311: checking if freeaddrinfo can be linked
# configure:22331: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22331: $? = 0
# configure:22333: result: yes
# configure:22348: checking if freeaddrinfo is prototyped
# configure:22361: result: yes
# configure:22377: checking if freeaddrinfo is compilable
# configure:22397: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22397: $? = 0
# configure:22399: result: yes
# configure:22414: checking if freeaddrinfo usage allowed
# configure:22417: result: yes
# configure:22427: checking if freeaddrinfo might be used
# configure:22433: result: yes
# configure:22460: checking for sys/types.h
# configure:22460: result: yes
# configure:22460: checking for stdlib.h
# configure:22460: result: yes
# configure:22488: checking for sys/types.h
# configure:22488: result: yes
# configure:22488: checking for string.h
# configure:22488: result: yes
# configure:22488: checking for strings.h
# configure:22488: result: yes
# configure:22509: checking if getaddrinfo can be linked
# configure:22530: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22530: $? = 0
# configure:22532: result: yes
# configure:22547: checking if getaddrinfo is prototyped
# configure:22560: result: yes
# configure:22576: checking if getaddrinfo is compilable
# configure:22597: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22597: $? = 0
# configure:22599: result: yes
# configure:22676: checking if getaddrinfo usage allowed
# configure:22679: result: yes
# configure:22689: checking if getaddrinfo might be used
# configure:22696: result: yes
# configure:22712: checking if getaddrinfo is threadsafe
# configure:22777: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22777: $? = 0
# configure:22819: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22819: $? = 0
# configure:22850: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:136:11: error: use of undeclared identifier 'force'
# force compilation error
# ^
# 1 error generated.
# configure:22850: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:22868: result: yes
# configure:22889: checking if getenv can be linked
# configure:22918: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22918: $? = 0
# configure:22920: result: yes
# configure:22935: checking if getenv is prototyped
# configure:22946: result: yes
# configure:22962: checking if getenv is compilable
# configure:22981: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:22981: $? = 0
# configure:22983: result: yes
# configure:22998: checking if getenv usage allowed
# configure:23001: result: yes
# configure:23011: checking if getenv might be used
# configure:23017: result: yes
# configure:23038: checking if gethostbyaddr can be linked
# configure:23058: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23058: $? = 0
# configure:23060: result: yes
# configure:23075: checking if gethostbyaddr is prototyped
# configure:23087: result: yes
# configure:23103: checking if gethostbyaddr is compilable
# configure:23123: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23123: $? = 0
# configure:23125: result: yes
# configure:23140: checking if gethostbyaddr usage allowed
# configure:23143: result: yes
# configure:23153: checking if gethostbyaddr might be used
# configure:23159: result: yes
# configure:23180: checking if gethostbyname can be linked
# configure:23200: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23200: $? = 0
# configure:23202: result: yes
# configure:23217: checking if gethostbyname is prototyped
# configure:23229: result: yes
# configure:23245: checking if gethostbyname is compilable
# configure:23265: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23265: $? = 0
# configure:23267: result: yes
# configure:23282: checking if gethostbyname usage allowed
# configure:23285: result: yes
# configure:23295: checking if gethostbyname might be used
# configure:23301: result: yes
# configure:23328: checking for sys/types.h
# configure:23328: result: yes
# configure:23328: checking for unistd.h
# configure:23328: result: yes
# configure:23347: checking if gethostname can be linked
# configure:23367: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23367: $? = 0
# configure:23369: result: yes
# configure:23384: checking if gethostname is prototyped
# configure:23396: result: yes
# configure:23412: checking if gethostname is compilable
# configure:23432: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23432: $? = 0
# configure:23434: result: yes
# configure:23449: checking for gethostname arg 2 data type
# configure:23475: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:163:38: error: conflicting types for 'gethostname'
# extern int FUNCALLCONV gethostname(char *, int);
# ^
# /sysroot/include/unistd.h:121:5: note: previous declaration is here
# int gethostname(char *, size_t);
# ^
# 1 error generated.
# configure:23475: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:23475: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:163:38: error: conflicting types for 'gethostname'
# extern int FUNCALLCONV gethostname(char *, unsigned int);
# ^
# /sysroot/include/unistd.h:121:5: note: previous declaration is here
# int gethostname(char *, size_t);
# ^
# 1 error generated.
# configure:23475: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:23475: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23475: $? = 0
# configure:23484: result: size_t
# configure:23496: checking if gethostname usage allowed
# configure:23499: result: yes
# configure:23509: checking if gethostname might be used
# configure:23515: result: yes
# configure:23537: checking if getservbyport_r can be linked
# configure:23566: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23566: $? = 0
# configure:23568: result: yes
# configure:23583: checking if getservbyport_r is prototyped
# configure:23594: result: yes
# configure:23611: checking if getservbyport_r takes 4 args.
# configure:23630: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:147:45: error: too few arguments to function call, expected 6, have 4
# if(0 != getservbyport_r(0, 0, 0, 0))
# ~~~~~~~~~~~~~~~ ^
# /sysroot/include/netdb.h:141:1: note: 'getservbyport_r' declared here
# int getservbyport_r(int, const char *, struct servent *, char *, size_t, struct servent **);
# ^
# 1 error generated.
# configure:23630: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:23639: result: no
# configure:23647: checking if getservbyport_r takes 5 args.
# configure:23666: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:147:48: error: too few arguments to function call, expected 6, have 5
# if(0 != getservbyport_r(0, 0, 0, 0, 0))
# ~~~~~~~~~~~~~~~ ^
# /sysroot/include/netdb.h:141:1: note: 'getservbyport_r' declared here
# int getservbyport_r(int, const char *, struct servent *, char *, size_t, struct servent **);
# ^
# 1 error generated.
# configure:23666: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:23675: result: no
# configure:23683: checking if getservbyport_r takes 6 args.
# configure:23702: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:23702: $? = 0
# configure:23704: result: yes
# configure:23718: checking if getservbyport_r is compilable
# configure:23721: result: yes
# configure:23730: checking if getservbyport_r usage allowed
# configure:23733: result: yes
# configure:23743: checking if getservbyport_r might be used
# configure:23749: result: yes
# configure:23796: checking for sys/types.h
# configure:23796: result: yes
# configure:23796: checking for sys/socket.h
# configure:23796: result: yes
# configure:23796: checking for netinet/in.h
# configure:23796: result: yes
# configure:23796: checking for arpa/inet.h
# configure:23796: result: yes
# configure:23816: checking if inet_net_pton can be linked
# configure:23845: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# /tmp/conftest-8daf86.o:conftest.c:function main: error: undefined reference to 'inet_net_pton'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:23845: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:23853: result: no
# configure:24101: checking if inet_net_pton might be used
# configure:24117: result: no
# configure:24130: checking if inet_ntop can be linked
# configure:24159: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:24159: $? = 0
# configure:24161: result: yes
# configure:24176: checking if inet_ntop is prototyped
# configure:24187: result: yes
# configure:24203: checking if inet_ntop is compilable
# configure:24222: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:24222: $? = 0
# configure:24224: result: yes
# configure:24335: checking if inet_ntop usage allowed
# configure:24338: result: yes
# configure:24348: checking if inet_ntop might be used
# configure:24355: result: yes
# configure:24377: checking if inet_pton can be linked
# configure:24406: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:24406: $? = 0
# configure:24408: result: yes
# configure:24423: checking if inet_pton is prototyped
# configure:24434: result: yes
# configure:24450: checking if inet_pton is compilable
# configure:24469: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:24469: $? = 0
# configure:24471: result: yes
# configure:24575: checking if inet_pton usage allowed
# configure:24578: result: yes
# configure:24588: checking if inet_pton might be used
# configure:24595: result: yes
# configure:24631: checking for sys/types.h
# configure:24631: result: yes
# configure:24631: checking for unistd.h
# configure:24631: result: yes
# configure:24631: checking for sys/socket.h
# configure:24631: result: yes
# configure:24631: checking for sys/ioctl.h
# configure:24631: result: yes
# configure:24631: checking for stropts.h
# configure:24631: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:24631: $? = 0
# configure:24631: result: yes
# configure:24650: checking if ioctl can be linked
# configure:24679: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:24679: $? = 0
# configure:24681: result: yes
# configure:24696: checking if ioctl is prototyped
# configure:24707: result: yes
# configure:24723: checking if ioctl is compilable
# configure:24742: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:24742: $? = 0
# configure:24744: result: yes
# configure:24759: checking if ioctl usage allowed
# configure:24762: result: yes
# configure:24772: checking if ioctl might be used
# configure:24778: result: yes
# configure:24792: checking if ioctl FIONBIO is compilable
# configure:24812: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:24812: $? = 0
# configure:24814: result: yes
# configure:24829: checking if ioctl FIONBIO usage allowed
# configure:24832: result: yes
# configure:24842: checking if ioctl FIONBIO might be used
# configure:24846: result: yes
# configure:24866: checking if ioctl SIOCGIFADDR is compilable
# configure:24887: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:24887: $? = 0
# configure:24889: result: yes
# configure:24904: checking if ioctl SIOCGIFADDR usage allowed
# configure:24907: result: yes
# configure:24917: checking if ioctl SIOCGIFADDR might be used
# configure:24921: result: yes
# configure:24948: checking if ioctlsocket can be linked
# configure:24967: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:171: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-517d25.o:conftest.c:function main: error: undefined reference to 'ioctlsocket'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:24967: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:24975: result: no
# configure:25060: checking if ioctlsocket might be used
# configure:25149: result: no
# configure:25161: checking if IoctlSocket can be linked
# configure:25190: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# /tmp/conftest-a28672.o:conftest.c:function main: error: undefined reference to 'IoctlSocket'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:25190: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:25198: result: no
# configure:25283: checking if IoctlSocket might be used
# configure:25372: result: no
# configure:25384: checking if setsockopt can be linked
# configure:25404: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:25404: $? = 0
# configure:25406: result: yes
# configure:25421: checking if setsockopt is prototyped
# configure:25433: result: yes
# configure:25449: checking if setsockopt is compilable
# configure:25469: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:25469: $? = 0
# configure:25471: result: yes
# configure:25486: checking if setsockopt usage allowed
# configure:25489: result: yes
# configure:25499: checking if setsockopt might be used
# configure:25505: result: yes
# configure:25519: checking if setsockopt SO_NONBLOCK is compilable
# configure:25539: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:180:43: error: use of undeclared identifier 'SO_NONBLOCK'
# if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0))
# ^
# 1 error generated.
# configure:25539: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:25547: result: no
# configure:25569: checking if setsockopt SO_NONBLOCK might be used
# configure:25582: result: no
# configure:25600: checking if socket can be linked
# configure:25621: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:25621: $? = 0
# configure:25623: result: yes
# configure:25638: checking if socket is prototyped
# configure:25651: result: yes
# configure:25667: checking if socket is compilable
# configure:25688: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:25688: $? = 0
# configure:25690: result: yes
# configure:25705: checking if socket usage allowed
# configure:25708: result: yes
# configure:25718: checking if socket might be used
# configure:25724: result: yes
# configure:25745: checking if strcasecmp can be linked
# configure:25774: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:164:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration]
# char strcasecmp ();
# ^
# conftest.c:164:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)'
# 1 warning generated.
# configure:25774: $? = 0
# configure:25776: result: yes
# configure:25791: checking if strcasecmp is prototyped
# configure:25802: result: yes
# configure:25818: checking if strcasecmp is compilable
# configure:25837: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:25837: $? = 0
# configure:25839: result: yes
# configure:25854: checking if strcasecmp usage allowed
# configure:25857: result: yes
# configure:25867: checking if strcasecmp might be used
# configure:25873: result: yes
# configure:25894: checking if strcmpi can be linked
# configure:25923: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# /tmp/conftest-4d0c3a.o:conftest.c:function main: error: undefined reference to 'strcmpi'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:25923: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:25931: result: no
# configure:26016: checking if strcmpi might be used
# configure:26031: result: no
# configure:26043: checking if strdup can be linked
# configure:26072: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:165:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
# char strdup ();
# ^
# conftest.c:165:6: note: 'strdup' is a builtin with type 'char *(const char *)'
# 1 warning generated.
# configure:26072: $? = 0
# configure:26074: result: yes
# configure:26089: checking if strdup is prototyped
# configure:26100: result: yes
# configure:26116: checking if strdup is compilable
# configure:26135: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:26135: $? = 0
# configure:26137: result: yes
# configure:26152: checking if strdup usage allowed
# configure:26155: result: yes
# configure:26165: checking if strdup might be used
# configure:26171: result: yes
# configure:26192: checking if stricmp can be linked
# configure:26221: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# /tmp/conftest-1abcec.o:conftest.c:function main: error: undefined reference to 'stricmp'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:26221: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:26229: result: no
# configure:26314: checking if stricmp might be used
# configure:26329: result: no
# configure:26341: checking if strncasecmp can be linked
# configure:26370: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:166:6: warning: incompatible redeclaration of library function 'strncasecmp' [-Wincompatible-library-redeclaration]
# char strncasecmp ();
# ^
# conftest.c:166:6: note: 'strncasecmp' is a builtin with type 'int (const char *, const char *, unsigned long)'
# 1 warning generated.
# configure:26370: $? = 0
# configure:26372: result: yes
# configure:26387: checking if strncasecmp is prototyped
# configure:26398: result: yes
# configure:26414: checking if strncasecmp is compilable
# configure:26433: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:26433: $? = 0
# configure:26435: result: yes
# configure:26450: checking if strncasecmp usage allowed
# configure:26453: result: yes
# configure:26463: checking if strncasecmp might be used
# configure:26469: result: yes
# configure:26490: checking if strncmpi can be linked
# configure:26519: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# /tmp/conftest-c0a1f8.o:conftest.c:function main: error: undefined reference to 'strncmpi'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:26519: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:26527: result: no
# configure:26612: checking if strncmpi might be used
# configure:26627: result: no
# configure:26639: checking if strnicmp can be linked
# configure:26668: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# /tmp/conftest-88fa8e.o:conftest.c:function main: error: undefined reference to 'strnicmp'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:26668: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:26676: result: no
# configure:26761: checking if strnicmp might be used
# configure:26776: result: no
# configure:26794: checking for sys/types.h
# configure:26794: result: yes
# configure:26794: checking for sys/uio.h
# configure:26794: result: yes
# configure:26813: checking if writev can be linked
# configure:26842: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:26842: $? = 0
# configure:26844: result: yes
# configure:26859: checking if writev is prototyped
# configure:26870: result: yes
# configure:26886: checking if writev is compilable
# configure:26905: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:26905: $? = 0
# configure:26907: result: yes
# configure:26922: checking if writev usage allowed
# configure:26925: result: yes
# configure:26935: checking if writev might be used
# configure:26941: result: yes
# configure:26958: checking for PF_INET6
# configure:27000: result: yes
# configure:27016: checking for AF_INET6
# configure:27058: result: yes
# configure:27075: checking for struct in6_addr
# configure:27110: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27110: $? = 0
# configure:27117: result: yes
# configure:27133: checking for struct sockaddr_in6
# configure:27168: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27168: $? = 0
# configure:27175: result: yes
# configure:27190: checking for struct sockaddr_in6.sin6_scope_id
# configure:27190: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27190: $? = 0
# configure:27190: result: yes
# configure:27223: checking for struct addrinfo.ai_flags
# configure:27223: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27223: $? = 0
# configure:27223: result: yes
# configure:27269: checking for bitncmp
# configure:27269: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# /tmp/conftest-716cd9.o:conftest.c:function main: error: undefined reference to 'bitncmp'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:27269: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27269: result: no
# configure:27279: checking deeper for bitncmp
# configure:27296: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:170:7: warning: implicit declaration of function 'bitncmp' is invalid in C99 [-Wimplicit-function-declaration]
# bitncmp ();
# ^
# 1 warning generated.
# /tmp/conftest-6ac15c.o:conftest.c:function main: error: undefined reference to 'bitncmp'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:27296: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27309: result: but still no
# configure:27269: checking for gettimeofday
# configure:27269: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27269: $? = 0
# configure:27269: result: yes
# configure:27269: checking for if_indextoname
# configure:27269: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27269: $? = 0
# configure:27269: result: yes
# configure:27325: checking size of struct in6_addr
# configure:27330: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27330: $? = 0
# configure:27330: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:195:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 0)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27330: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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
# | /* end confdefs.h. */
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_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
# | #endif
# |
# |
# |
# | int main (void)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 0)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27330: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:195:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 1)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27330: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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
# | /* end confdefs.h. */
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_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
# | #endif
# |
# |
# |
# | int main (void)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 1)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27330: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:195:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 3)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27330: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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
# | /* end confdefs.h. */
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_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
# | #endif
# |
# |
# |
# | int main (void)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 3)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27330: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:195:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 7)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27330: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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
# | /* end confdefs.h. */
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_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
# | #endif
# |
# |
# |
# | int main (void)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 7)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27330: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:195:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 15)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27330: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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
# | /* end confdefs.h. */
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_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
# | #endif
# |
# |
# |
# | int main (void)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 15)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27330: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27330: $? = 0
# configure:27330: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27330: $? = 0
# configure:27330: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27330: $? = 0
# configure:27330: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27330: $? = 0
# configure:27330: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27330: $? = 0
# configure:27370: result: 16
# configure:27385: checking size of struct in_addr
# configure:27390: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27390: $? = 0
# configure:27390: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:196:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (struct in_addr))) <= 0)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27390: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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
# | /* end confdefs.h. */
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_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
# | #endif
# |
# |
# |
# | int main (void)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (struct in_addr))) <= 0)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27390: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:196:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (struct in_addr))) <= 1)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27390: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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
# | /* end confdefs.h. */
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_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
# | #endif
# |
# |
# |
# | int main (void)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (struct in_addr))) <= 1)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27390: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:196:24: error: 'test_array' declared as an array with a negative size
# static int test_array [1 - 2 * !(((long int) (sizeof (struct in_addr))) <= 3)];
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1 error generated.
# configure:27390: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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
# | /* end confdefs.h. */
# |
# | #undef inline
# | #ifdef HAVE_WINDOWS_H
# | #ifndef WIN32_LEAN_AND_MEAN
# | #define WIN32_LEAN_AND_MEAN
# | #endif
# | #include
# | #ifdef HAVE_WINSOCK2_H
# | #include
# | #ifdef HAVE_WS2TCPIP_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
# | #endif
# |
# |
# |
# | int main (void)
# | {
# | static int test_array [1 - 2 * !(((long int) (sizeof (struct in_addr))) <= 3)];
# | test_array [0] = 0;
# | return test_array [0];
# |
# | ;
# | return 0;
# | }
# configure:27390: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27390: $? = 0
# configure:27390: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27390: $? = 0
# configure:27390: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27390: $? = 0
# configure:27430: result: 4
# configure:27446: checking for sys/types.h
# configure:27446: result: yes
# configure:27446: checking for sys/socket.h
# configure:27446: result: yes
# configure:27446: checking for netdb.h
# configure:27446: result: yes
# configure:27457: checking for getnameinfo
# configure:27486: clang -o conftest -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27486: $? = 0
# configure:27488: result: yes
# configure:27596: checking types of arguments for getnameinfo
# configure:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:204:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:204:52: error: redefinition of parameter 'DWORD'
# conftest.c:203:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:211:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:212:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:214:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:214:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:210:31: note: 'salen' declared here
# socklen_t salen=0;
# ^
# 2 warnings and 5 errors generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:204:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:204:52: error: redefinition of parameter 'DWORD'
# conftest.c:203:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:211:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:212:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:214:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:214:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:210:31: note: 'salen' declared here
# socklen_t salen=0;
# ^
# 2 warnings and 5 errors generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:204:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:204:52: error: redefinition of parameter 'DWORD'
# conftest.c:203:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:211:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:212:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:214:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:214:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:210:28: note: 'salen' declared here
# size_t salen=0;
# ^
# 2 warnings and 5 errors generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:204:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:204:52: error: redefinition of parameter 'DWORD'
# conftest.c:203:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:211:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:212:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:214:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:214:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:210:28: note: 'salen' declared here
# size_t salen=0;
# ^
# 2 warnings and 5 errors generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:204:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:204:52: error: redefinition of parameter 'DWORD'
# conftest.c:203:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:211:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:212:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:214:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:214:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:210:25: note: 'salen' declared here
# int salen=0;
# ^
# 2 warnings and 5 errors generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:203:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:204:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# char *, DWORD,
# ^
# conftest.c:204:52: error: redefinition of parameter 'DWORD'
# conftest.c:203:52: note: previous declaration is here
# char *, DWORD,
# ^
# conftest.c:211:21: error: use of undeclared identifier 'DWORD'
# DWORD hostlen=0;
# ^
# conftest.c:212:21: error: use of undeclared identifier 'DWORD'
# DWORD servlen=0;
# ^
# conftest.c:214:56: error: use of undeclared identifier 'hostlen'
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^
# conftest.c:214:68: error: use of undeclared identifier 'servlen'; did you mean 'salen'?
# int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags);
# ^~~~~~~
# salen
# conftest.c:210:25: note: 'salen' declared here
# int salen=0;
# ^
# 2 warnings and 5 errors generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:202:44: error: conflicting types for 'getnameinfo'
# extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
# ^
# /sysroot/include/netdb.h:59:5: note: previous declaration is here
# int getnameinfo (const struct sockaddr *__restrict, socklen_t, char *__restrict, socklen_t, char *__restrict, socklen_t, int);
# ^
# 1 error generated.
# configure:27660: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27660: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27660: $? = 0
# configure:27673: result: const struct sockaddr *,socklen_t,socklen_t,int
# configure:27755: checking whether byte ordering is bigendian
# configure:27770: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:178:9: error: unknown type name 'not'
# not a universal capable compiler
# ^
# conftest.c:178:14: error: expected ';' after top level declarator
# not a universal capable compiler
# ^
# ;
# 2 errors generated.
# configure:27770: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27814: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# configure:27814: $? = 0
# configure:27831: clang -c -Qunused-arguments -g0 -Os conftest.c >&5
# conftest.c:183:4: error: use of undeclared identifier 'not'
# not big endian
# ^
# 1 error generated.
# configure:27831: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "c-ares"
# | #define PACKAGE_TARNAME "c-ares"
# | #define PACKAGE_VERSION "1.11.0"
# | #define PACKAGE_STRING "c-ares 1.11.0"
# | #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# | #define PACKAGE_URL ""
# | #define OS "x86_64-unknown-linux-gnu"
# | #define PACKAGE "c-ares"
# | #define VERSION "1.11.0"
# | #define STDC_HEADERS 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_INTTYPES_H 1
# | #define HAVE_STDINT_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# | #define STDC_HEADERS 1
# | #define HAVE_MALLOC_H 1
# | #define HAVE_MEMORY_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_SYS_IOCTL_H 1
# | #define HAVE_SYS_PARAM_H 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_ASSERT_H 1
# | #define HAVE_NETDB_H 1
# | #define HAVE_NETINET_IN_H 1
# | #define HAVE_NETINET_TCP_H 1
# | #define HAVE_NET_IF_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_STRINGS_H 1
# | #define HAVE_STDBOOL_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_LIMITS_H 1
# | #define HAVE_ARPA_NAMESER_H 1
# | #define HAVE_ARPA_NAMESER_COMPAT_H 1
# | #define HAVE_ARPA_INET_H 1
# | #define TIME_WITH_SYS_TIME 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_TIME_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_STRUCT_TIMEVAL 1
# | #define SIZEOF_SIZE_T 8
# | #define SIZEOF_LONG 8
# | #define SIZEOF_INT 4
# | #define SIZEOF_SHORT 2
# | #define SIZEOF_TIME_T 8
# | #define HAVE_LONGLONG 1
# | #define HAVE_LL 1
# | #define HAVE_BOOL_T 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define CARES_PULL_SYS_TYPES_H 1
# | #define CARES_PULL_SYS_SOCKET_H 1
# | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# | #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# | #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define RETSIGTYPE void
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define RECV_TYPE_ARG1 int
# | #define RECV_TYPE_ARG2 void *
# | #define RECV_TYPE_ARG3 size_t
# | #define RECV_TYPE_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:27955: result: no
# configure:28005: WARNING: cannot check for /dev/urandom while cross compiling; assuming none
# configure:28023: checking whether to enable non-blocking communications
# configure:28042: result: yes
# configure:28049: checking how to set a socket into non-blocking mode
# configure:28062: result: fcntl O_NONBLOCK
# configure:28081: checking whether hiding of library internal symbols will actually happen
# configure:28095: result: yes
# configure:28431: checking that generated files are newer than configure
# configure:28437: result: done
# configure:28489: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by c-ares config.status 1.11.0, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 63a1c5162c51
#
# config.status:1268: creating Makefile
# config.status:1268: creating libcares.pc
# config.status:1268: creating ares_config.h
# config.status:1268: creating ares_build.h
# config.status:1497: executing depfiles commands
# config.status:1497: executing libtool commands
# configure:30799: amending ./Makefile
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-pc-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=
# 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_LT_SYS_LIBRARY_PATH_set=
# ac_cv_env_LT_SYS_LIBRARY_PATH_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_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/sbin/grep -E'
# ac_cv_path_FGREP='/usr/sbin/grep -F'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_SED=/usr/sbin/sed
# ac_cv_path_ac_pt_AR=/sysroot/bin/ar
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_lt_DD=/usr/sbin/dd
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AR=/sysroot/bin/ar
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_STRIP=strip
# ac_cv_prog_ac_ct_DUMPBIN='link -dump'
# 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_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
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
# 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_archive_cmds_need_lc=no
# 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=/sysroot/bin/ld
# lt_cv_path_NM=no
# 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=yes
# 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/sbin/dd bs=4096 count=1'
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/c-ares/src/c-ares-1.11.0/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='/sysroot/bin/ar'
# AS='as'
# AUTOCONF='${SHELL} /tmp/c-ares/src/c-ares-1.11.0/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/c-ares/src/c-ares-1.11.0/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/c-ares/src/c-ares-1.11.0/missing automake-1.15'
# 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='-Qunused-arguments -g0 -Os'
# CFLAG_CARES_SYMBOL_HIDING='-fvisibility=hidden'
# CODE_COVERAGE_CFLAGS=''
# CODE_COVERAGE_ENABLED='no'
# CODE_COVERAGE_ENABLED_FALSE=''
# CODE_COVERAGE_ENABLED_TRUE='#'
# CODE_COVERAGE_LDFLAGS=''
# CODE_COVERAGE_RULES=''
# CPP='clang -E'
# CPPFLAGS=''
# CPPFLAG_CARES_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/sbin/grep -E'
# EXEEXT=''
# FGREP='/usr/sbin/grep -F'
# GCOV=''
# GENHTML=''
# GREP='/usr/sbin/grep'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LCOV=''
# LD='/sysroot/bin/ld -m elf_x86_64'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# LIPO=''
# LN_S='ln -s'
# LTLIBOBJS=''
# LT_SYS_LIBRARY_PATH=''
# MAINT='#'
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE='#'
# MAKEINFO='${SHELL} /tmp/c-ares/src/c-ares-1.11.0/missing makeinfo'
# MANIFEST_TOOL=':'
# MKDIR_P='/usr/sbin/mkdir -p'
# NM='nm'
# 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.11.0'
# PACKAGE_TARNAME='c-ares'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.11.0'
# PATH_SEPARATOR=':'
# RANDOM_FILE=''
# RANLIB='ranlib'
# SED='/usr/sbin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# USE_CPPFLAG_CARES_STATICLIB_FALSE=''
# USE_CPPFLAG_CARES_STATICLIB_TRUE='#'
# VERSION='1.11.0'
# ac_ct_AR=''
# ac_ct_CC=''
# ac_ct_DUMPBIN='link -dump'
# 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-pc-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='pc'
# 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'
# install_sh='${SHELL} /tmp/c-ares/src/c-ares-1.11.0/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='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# runstatedir='${localstatedir}/run'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# subdirs=''
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "c-ares"
# #define PACKAGE_TARNAME "c-ares"
# #define PACKAGE_VERSION "1.11.0"
# #define PACKAGE_STRING "c-ares 1.11.0"
# #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
# #define PACKAGE_URL ""
# #define OS "x86_64-unknown-linux-gnu"
# #define PACKAGE "c-ares"
# #define VERSION "1.11.0"
# #define STDC_HEADERS 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_INTTYPES_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_DLFCN_H 1
# #define LT_OBJDIR ".libs/"
# #define TIME_WITH_SYS_TIME 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_TIME_H 1
# #define HAVE_CLOCK_GETTIME_MONOTONIC 1
# #define STDC_HEADERS 1
# #define HAVE_MALLOC_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_SYS_SELECT_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_SYS_IOCTL_H 1
# #define HAVE_SYS_PARAM_H 1
# #define HAVE_SYS_UIO_H 1
# #define HAVE_ASSERT_H 1
# #define HAVE_NETDB_H 1
# #define HAVE_NETINET_IN_H 1
# #define HAVE_NETINET_TCP_H 1
# #define HAVE_NET_IF_H 1
# #define HAVE_ERRNO_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_STDBOOL_H 1
# #define HAVE_TIME_H 1
# #define HAVE_LIMITS_H 1
# #define HAVE_ARPA_NAMESER_H 1
# #define HAVE_ARPA_NAMESER_COMPAT_H 1
# #define HAVE_ARPA_INET_H 1
# #define TIME_WITH_SYS_TIME 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_TIME_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_STRUCT_TIMEVAL 1
# #define SIZEOF_SIZE_T 8
# #define SIZEOF_LONG 8
# #define SIZEOF_INT 4
# #define SIZEOF_SHORT 2
# #define SIZEOF_TIME_T 8
# #define HAVE_LONGLONG 1
# #define HAVE_LL 1
# #define HAVE_BOOL_T 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define CARES_PULL_SYS_TYPES_H 1
# #define CARES_PULL_SYS_SOCKET_H 1
# #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# #define CARES_SIZEOF_ARES_SOCKLEN_T 4
# #define HAVE_STRUCT_SOCKADDR_STORAGE 1
# #define HAVE_SIGNAL_H 1
# #define HAVE_SIG_ATOMIC_T 1
# #define RETSIGTYPE void
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define RECV_TYPE_ARG1 int
# #define RECV_TYPE_ARG2 void *
# #define RECV_TYPE_ARG3 size_t
# #define RECV_TYPE_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 CARES_SYMBOL_SCOPE_EXTERN __attribute__ ((__visibility__ ("default")))
# #define CARES_SYMBOL_HIDING 1
#
# configure: exit 0