Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
misc/swig: long long not working with gcc 4.7 on Windows #6541
What steps will reproduce the problem? 1. grab the file at https://gist.github.com/steeve/6872454 2. on windows/386: go run test-int64.go What is the expected output? 1 What do you see instead? 4603183328 Which compiler are you using (5g, 6g, 8g, gccgo)? 8g, cgo on mingw32 + msys Which operating system are you using? windows 7 Which version are you using? (run 'go version') go version go1.1.2 windows/386 Please provide any additional information below. Running this on darwin/amd64 and windows/amd64 works perfectly.
So it's more likely a SWIG issue then. SWIG is kind of broken on Windows anyway https://github.com/steeve/libtorrent-go/blob/master/Makefile#L118