-
Notifications
You must be signed in to change notification settings - Fork 336
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
Add support to compile with VS2013? #36
Comments
Hi Praveen, As discussed in issue 34 (#34), not even the CTP6 of MSVC-2015 has sufficient C++11 support. Back in August 2014, the current build of MSVC still had troubles with static_assert (this did not compile then: https://gist.github.com/rbock/b573ee3d024902998e3e). I see no (reasonable) way to replace these things with boost equivalents. And quite frankly, even if I did, I would not want to do it. I'd rather spend my time improving the library and hoping for the MS compiler to finally catch up. Of course, if you believe to be able to rewrite those parts of the library that stop it from compiling with MSVC 2013, please feel free to do so. I'll gladly link to your project. Best, Roland |
Seems MS fixed it (https://gist.github.com/rbock/b573ee3d024902998e3e) |
The question was about MSVC-2013 (not 2015). There is some hope left for MSVC-2015, but as of now, that also seems problematic. struct A
{
static constexpr const char _literal[] = "hello_world";
}; This does not compile even with the June-1 version. The compiler accepts the constexpr outside the struct though. See also: #43 (comment) |
struct A compiles fine :) |
That does not help me, I think. Take a look at If that can be done with const char*, then we're getting somewhere :-) On 2015-06-02 14:53, Alexey wrote:
|
Hi Roland,
I appreciate your work on Sqlpp11 library, quite impressed with the concept and would like to use it in my project but unfortunately your code does not compile with VS2013. Can you please add support to get this compile with VS2013?
I know you mentioned somewhere you have used C++11 features that were not supported by VS 2013 compiler but there are alternatives you can use bu substituting with equivalent boost library implementation.
Can you please add support to get this compile using MSVC 2013?
Thanks
Praveen
The text was updated successfully, but these errors were encountered: