-
Notifications
You must be signed in to change notification settings - Fork 179
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
Visual Studio 2013 Support #46
Comments
The CXX11 flag is not a problem. CMake will try an empty argument also. About the About the failing code, I don't know why it failed. Can you paste the compiler output? Have you used the CTP? And thanks for the feedback. |
Hi, Thanks for your reply and the software, I'm using it in an app in Mac and Linux and it works perfectly. Unfortunately I have to provide a version for Windows. My environment is:
The errors due to cmake cxx11 are:
Editing CMakeList.txt to remove the Cxx11 requirement it generates the Makefiles. After that I have removed the /Wextras flag. And, then, the errors:
|
According to http://cpprocks.com/c1114-compiler-and-library-shootout/ Visual Studio 2013 doesn't support This feature is used during the definition of the The |
Another thing you can try is to install the november CTP. |
Seems that Update 2 doesn't includes the November CTP. I will check the changes on constexpr. On Mon, May 26, 2014 at 12:49 PM, Vinícius dos Santos Oliveira <
ALT David in a Loop |
Removing just that constexpr solves the compilation problem, Now the error occours when compiling the samples (sessionusage);
|
This time looks like the problem is related to good initializer lists or library support ( You could try to change the sample to map one handler at time. Maybe this will help the Visual Studio parser. Anyway, it's clear that the problem is incomplete C++11 support from Visual Studio. I'll close the issue, but we can continue to use it to help you work around this problem. |
I have installed the 2013 November CTP version. Still failing at the same place BUT the error is not due to the initializer lists but by std::function. The error:
Refers to the usage of Handler in the HttpServerRequestRouter::Mapping constructor. A solution is to use std::bind as:
|
Good you found a solution that worked for this old VS compiler. Unfortunately |
Another CTP was released. Maybe it would work now. |
I have tryed to compile Tufao 1.0 using VS 2013 and I run into some problems:
After fixing both problems the compiler has problems with the definition of a template in this struct (priv/httpserverrequest.h line 99):
Any plan to support VS 2013? I'm doing something wrong at configuration level?
My CMake command is:
Thanks,
David
The text was updated successfully, but these errors were encountered: