-
Notifications
You must be signed in to change notification settings - Fork 286
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
Build error with Visual Studio 2015 Update 1 and 2 #599
Comments
yes, i ran into this too. it seems like the most likely cause of this is the constexpr static declarations in addon.h. apparently vs2015's support of constexpr is evolving. notice the link below : https://blogs.msdn.microsoft.com/vcblog/2015/12/02/constexpr-in-vs2015-update-1/ particularly the looking forward section, where they say there are still numerous bugs remaining, some of which pertain to pointers-to-members in constant expressions. |
So sad VS2015 hasn't completed |
i know, it's unfortunate how long it's taking them to become compliant with the standard. |
are there any plans to address this? |
I don't think there is a way to address this unless VS2015 fixes the bug. One possible way could be not using Please note that this is an issue for the current master branch (that will be DART 6.0) but not for DART 5.1 or less. |
this isn't an issue with 5.1 so i guess we can close it, although 5.1 has other problems (Eigen alignment assertions). |
The Eigen alignment issue should be addressed by #606. I would like to leave this issue open to inform this to other users. Someone who tries to build master branch with VS2015 might want to know about this. |
Excellent! Thanks JS. |
I hope the |
oh, goody. i'll test it. |
The issue seems not resolved yet. I still get the same errors. |
Visual Studio 2015 Update 2 still can't build with |
If this is becoming a problem, it may be possible to block out those expressions for Visual Studio, and avoid using them in code. Their original purpose was to enable us to use some macros for implementations of classes derived from I should be dropping a huge pull request tomorrow with the new |
We don't test DART 5 for Windows build, but DART 6.3 (and later) works w/ Visual Studio 2017 (see #956). |
Visual Studio 2015 with Update 1 complains in build of the current master branch. It seems VS2015 fails to evaluate a function pointer to a constant.
Here is the error message.
The text was updated successfully, but these errors were encountered: