Current Git master fails to build on Windows
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.6.1/configure --enable-languages=c,c++,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp -
-disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.6.1 (GCC)
mingw installed using with latest installer.
trying to compile tor from git
Having this error:
$ make
make all-recursive
make[1]: Entering directory `/tor'
Making all in src
make[2]: Entering directory `/tor/src'
Making all in common
make[3]: Entering directory `/tor/src/common'
gcc -DHAVE_CONFIG_H -I. -I../.. -march=k8-sse3 -I../../src/common -march=k8-sse3 -Wall -fno-strict-aliasing -MT util.o -MD -MP -MF .deps/util.Tpo -c -o ut
il.o util.c
util.c: In function 'tor_check_port_forwarding':
util.c:3980:43: error: invalid operands to binary & (have 'void *' and 'process_handle_t')
util.c:3980:5: error: too few arguments to function 'tor_spawn_background'
util.c:3215:1: note: declared here
make[3]: *** [util.o] Error 1
make[3]: Leaving directory `/tor/src/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tor/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tor'
make: *** [all] Error 2
**Trac**:
**Username**: masaykh
issue