-
Notifications
You must be signed in to change notification settings - Fork 9
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
Verify usability with Visual Studio 2015 #8
Comments
Perhaps Appveyor could come in handy here? I have a Windows 7 + MSVC installation in a VirtualBox machine, licenses for which I got through my schools MSDNAA subscription. I seldom boot it up though, and I'm not sure which MSVC version I currently have on there. |
Perhaps target VS2015? 2013 really is missing a lot of C++11 features (like |
I will need to do this eventually, FWIW, but I'm focusing on just OS X first. |
I can install Windows on VirtualBox easily enough, that's not the problem. The problem is lack of time to fix the inevitable deluge of VS compile errors. We don't use Windows in our project, so it's not a high priority for me.
Yeah, VS2015 might be better. I'm not too keen on having the code littered with
You did an excellent job with the OS X fixes. Feel free to tackle VS2015. I might reject a VS2013 pull request if it ends up being a complete |
To clarify, assuming I can get away with it, I'd target VS2015 and hopefully not have to do too much work. I agree that fixing things for VS2013 would be really nasty and should be avoided. This isn't fully under my control from our side, though. |
Yep, not a priority for us either. Since I came across the issue, I just wanted to drop the link to Appveyor in case you didn't know about it. Might be nice for CI, if someone shows up that has a real need for Windows. I'd also be all for going for VS 2015 unless someone yells high about it. |
VS2013 does not support unrestricted unions, and that is a huge deal breaker for me. The library revolves around VS support will have to be for VS2015, at the very least. |
Looks like VS2015 will support everything in C++11 except for expression SFINAE: http://blogs.msdn.com/b/vcblog/archive/2015/06/19/c-11-14-17-features-in-vs-2015-rtm.aspx Hopefully won't be too bad to add support, then. |
I don't remember using expression SFINAE anywhere, so hopefully, we're in the clear. |
We dropped Windows support from our requirements, so I'm no longer planning on working on this issue. |
I'll eventually try to look into this myself, if nobody else volunteers. |
Here are few errors/warnings on the VS2015 to start with:
Hope someone can give workarounds. |
Thank you, @KrishnaPG. I'll eventually install VS2015 on a Windows machine (or VirtualBox), and will attempt to fix these errors. I'm very busy at work at the moment. |
Any update on Visual Studio 2015 support? |
@michaelaeriksen, no one has stepped up with a pull request yet. I've been meaning to add support for the latest VS2015, but haven't had the time yet. I can't really give you an ETA. :-( |
I managed to compile with VS2015, but I had to comment out most of the variant visitors I also had to fix all the ArgTraits. Basically VS2015 does not like any of the Metafunctions. It would be nice if someone with more understanding of template meta programming would take a look! |
@michaelaeriksen, it's reassuring to know that it's only the metafunctions causing grief in VS2015! I can't promise anything, but I'll try installing Visual Studio and taking a look this weekend. |
I've set-up VS2015 on my Windows machine. Probably won't have time to resolve the compiler errors this weekend, but at least the tools are now set-up. |
Make sure you have VS2015 Update 3 installed. I also had to add this
in bool TransportCategory::equivalent to get the tests to work. |
I've managed to get CMake to generate a VS project, and I've started tackling the compile errors. Most of the problems seem to occur when
|
Is the VS2015 port finished? |
Sorry, no. Too busy with summer stuff. I can't give you an ETA either. I was going to try abandoning SFINAE and use a tagged-dispatching approach instead. |
Bummer, I would really like to use your library! In my hacked version I have an issuer where Blobs are decoded as strings. I have a simple pub like this
And the sub
The type of the event Payload._args is string where I'm expecting it to be Blob. |
Just confirmed it work if I use
but fails if I use
|
@michaelaeriksen Is it working with VS2015? Have been waiting to make it work as embedded lib. |
Yes, I managed to get most of it to compile with VS2015, but there is still a few issues and I'm not sure if they only exists in my build. |
Looks like my wamp::Blob issue is not with cppwamp but crossbar.io. I just updated my windows version of crossbar.io to 0.15.0 and now Blobs are encoded and decoded correctly with Msgpack! |
That's good to hear, @michaelaeriksen. |
Verify that the library can be used with Visual Studio 2013. Identify, if necessary, the C++11 features that would need to be worked around to support VS2013.
The text was updated successfully, but these errors were encountered: