Re: Build errors in branches/1.8.x on Windows

2022-06-15 Thread Ivan Zhakov via dev
_WIN32_WINNT is set to 0x600 (Windows Vista). I found that the problem was that IPv6 support was disabled. This is because HAVE_IF_INDEXTONAME is defined only if APR_HAVE_IPV6. In arch/win32/apr_private.h [1]: [[[ #if APR_HAVE_IPV6 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define

Re: Build errors in branches/1.8.x on Windows

2022-06-14 Thread William A Rowe Jr
Not sure what you have going on here. A too-old flavor of the Windows SDK, or a bad choice of the minimum SDK version? It seems the HAVE_IF_INDEXTONAME is set in the include/arch/win32/apr_private.h, which is included by include/arch/win32/apr_arch_misc.h, which then does this; #if

Build errors in branches/1.8.x on Windows

2022-06-14 Thread Ivan Zhakov via dev
When building using CMake: C:\PROGRA~1\MIB055~1\2022\PROFES~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x64\cl.exe /nologo -DAPR_APP -DWINNT -IC:\Ivan\SVN\apr\apr-1.8.x\out\build\x64-Debug -IC:\Ivan\SVN\apr\apr-1.8.x\include -IC:\Ivan\SVN\apr\apr-1.8.x\include\arch\win32