-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Compilation fails with MSVC 2015, Python 3.5 #688
Comments
Note: I cannot install Python 3.5 on Windows. I've searched a bit and it seems I'm not the only one. |
Wow! Maybe I can help with that? I have bundled it for Continuum's Anaconda distribution, and have tested it on win 7 and 8. What platform are you on? If you use conda, you can do: conda create -n py35 python=3.5 |
Update: MSVC2015 forces compilation with the C++11 standard. Part of this standard is scoped enumerators: https://msdn.microsoft.com/en-us/library/vstudio/2dzy4k6e(v=vs.110).aspx One solution is to add the enum definitions to a namespace. I'll see if there's a way to change compiler settings instead of changing code. |
#690 should address this. |
This patch didn't do the trick for us on Visual Studio 2013 + Windows 8.1 SDK (seeing the same error), so we have an alternative solution for your consideration (#936). |
I just merged #936. |
Will post back if I figure out a patch.
The text was updated successfully, but these errors were encountered: