tor nightly build fails for Windows 64 bit with "error: conflicting types for 'tor_tls_new'"
Starting with today's nightly build tor
compilation fails for Windows x86_64:
src/lib/tls/tortls_openssl.c:1010:1: error: conflicting types for 'tor_tls_new'
tor_tls_new(int sock, int isServer)
^~~~~~~~~~~
In file included from src/lib/tls/tortls_openssl.c:59:0:
./src/lib/tls/tortls.h:91:12: note: previous declaration of 'tor_tls_new' was here
tor_tls_t *tor_tls_new(tor_socket_t sock, int is_server);
^~~~~~~~~~~
CC src/trunnel/hs/src_trunnel_libor_trunnel_a-cell_common.o
Makefile:12587: recipe for target 'src/lib/tls/src_lib_libtor_tls_a-tortls_openssl.o' failed
make[1]: *** [src/lib/tls/src_lib_libtor_tls_a-tortls_openssl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
src/lib/tls/tortls_openssl.c:1010:1: error: conflicting types for 'tor_tls_new'
tor_tls_new(int sock, int isServer)
^~~~~~~~~~~
In file included from src/lib/tls/tortls_openssl.c:59:0:
./src/lib/tls/tortls.h:91:12: note: previous declaration of 'tor_tls_new' was here
tor_tls_t *tor_tls_new(tor_socket_t sock, int is_server);
^~~~~~~~~~~
make[1]: *** [src/lib/tls/src_lib_libtor_tls_testing_a-tortls_openssl.o] Error 1
Makefile:12489: recipe for target 'src/lib/tls/src_lib_libtor_tls_testing_a-tortls_openssl.o' failed
make[1]: Leaving directory '/var/tmp/build/tor-79a7fbb79b7f'
Makefile:4731: recipe for target 'all' failed
make: *** [all] Error 2