Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bitarray 0.9.1 fails to compile on Windows with VS 2015 #72

Closed
nehaljwani opened this issue Apr 29, 2019 · 2 comments
Closed

bitarray 0.9.1 fails to compile on Windows with VS 2015 #72

nehaljwani opened this issue Apr 29, 2019 · 2 comments

Comments

@nehaljwani
Copy link
Contributor

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I%PREFIX%\include -I%PREFIX%\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" -I%PREFIX%\Library\include -I%PREFIX%\Library\include /Tcbitarray/_bitarray.c /Fobuild\temp.win-amd64-3.7\Release\bitarray/_bitarray.obj
_bitarray.c
bitarray/_bitarray.c(2431): error C2099: initializer is not a constant
bitarray/_bitarray.c(2546): error C2099: initializer is not a constant
bitarray/_bitarray.c(2910): error C2099: initializer is not a constant
bitarray/_bitarray.c(3037): error C2099: initializer is not a constant
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2
@nehaljwani nehaljwani changed the title bitarray 0.19.1 fails to compile on Windows with MSVC 2015 bitarray 0.19.1 fails to compile on Windows with VS 2015 Apr 29, 2019
@ilanschnell
Copy link
Owner

Thanks Nehal! I just pushed a fix to master. If you can confirm that it works now, I will release a version 0.9.2 with this fix. Thank

@ilanschnell ilanschnell changed the title bitarray 0.19.1 fails to compile on Windows with VS 2015 bitarray 0.9.1 fails to compile on Windows with VS 2015 Apr 29, 2019
@ilanschnell
Copy link
Owner

I went ahead and did the 0.9.2 release, as I'm very confident that the fix (which was actually the same fix @cgohlke suggested) will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants