-
Notifications
You must be signed in to change notification settings - Fork 341
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
Windows (msvc++) support? #34
Comments
Hi, I'd like to support MSVC and I'd like MSVC to support sqlpp11 :-) In other words: I'd certainly make small adjustments where necessary and justified, but I am not going to bend over backwards and use tons of Admittedly, I haven't looked into it since September 2014. At that time, I could not even use sqlpp::wrong_t. And some default constructors were missing... I am willing to give it another try, of course. Do you know if there is an online version of CTP 6, that I could use for experiments? Best, Roland |
-----BEGIN PGP SIGNED MESSAGE----- On 04/26/2015 11:06 AM, Roland Bock wrote:
I am not aware of any online versions. I have installed CTP 6 in a VM Jarle -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJVPNkLAAoJECdIPpCNC8tyxgMP/2SLwaqOR8kqfLSgVavgh+ov |
Have you tried to compile it? What is the first compiler error message you get? Roland PS: I'll try to set up a VM myself but it will take some time. I have a lot on my table these days... |
-----BEGIN PGP SIGNED MESSAGE----- On 04/26/2015 04:38 PM, Roland Bock wrote:
I have not tried to compile it yet. I was just looking around for a I'll give it a try under Windows next week. Jarle -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJVPQ21AAoJECdIPpCNC8tyKPYP/0HbCzT1zNBDs6H9h3+ZhinY |
Looking forward to seeing the results! |
I gave it a try today. It seems like msvc still have some problems with modern code. There was lot's of errors - but the majority seemed to originate in the constexpr here: Severity Description Project File Line May be it's best to give Microsoft some more time (a year or five) to catch up with the standard... They have always lagged far behind, and put damaging constraints on lots and lots of projects that relies on their compilers. (I suffer from that nearly every time I touch commercial code). |
Thanks for the report! As of now, I do not see a good way to replace that constexpr with something else that give the same level of name safety while keeping the code lean... The annoying thing is that the same line outside a struct works fine (tested here: http://webcompiler.cloudapp.net/) I'll file a bug with MS and close this ticket for now. Best, Roland |
Were you able to try VS 2015 RC? |
I tried VS 2015 RC yesterday. Still no luck. I hoped that the newly announced clang front-end may be able to work around the limitations in msvc++, but I could not find a way to enable it for native code. I asked if that can be done is a msdn forum - but no replies yet. |
Thanks for the update! Also nothing on the bug I filed... |
Hi,
Do you have any plans to add Windows support using the Microsoft compiler?
The latest preview of Visual Studio 2015 looks very promising (it compiles all my C++14 code).
(I use Linux as my primary platform, but some projects has to be x-platform, and under Windows, I tend to use the Microsoft compiler).
The text was updated successfully, but these errors were encountered: