-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Supported compilers #50
Comments
Hi @suy, thanks for checking by. Unfortunately, MSVC's C++11 support is still very bad. I got some pull requests where the library has been "fixed" to compile, but these changes were a preprocessor nightmare. I would also like to know how more recent versions behave. I agree that a documentation of supported compilers would be really useful. I shall add a table to the README file and hope to get some feedback about other compilers. By the way, which compiler with MinGW did you try? |
El Tuesday 24 March 2015, Niels escribió:
That's what I've always been told, and in this case I can confirm. Many errors
My version was 2013. I've read that people are happy about the 2015 pre-
Thank you! Any mention of what compilers (and maybe their versions) people |
@suy I've just tried with the 2015 (actually, 2014, but nonetheless the latest version), and it gave me much less errors then the 2013. But the "iterator" error you reposted is still there. if anybody is interested, I include the output of errors... can't really say why they arise, or what are they about - cpp is not my best side :)
|
Thank you! |
Hi.
There is no documentation on what compilers are supported, or which C++ features are required. I've tried to include the header in a project with MSVC 2013, and I get plenty of compile errors (with MinGW it compiles fine). I know MSVC might not have good enough C++11 support, so that's somewhat expected. I'm wondering, though, if anybody has attempted some newer pre-release of MSVC and if it is worth it at all trying to get it compile, sending patches, etc.
Thank you.
PD: In case it's useful, the first error I have is with the declaration of using iterator = basic_json::iterator:
Later on I get plenty of unrecognized noexcept. The later could be worked around with a macro, I think, but I have no idea on the former, or other template magic involved.
The text was updated successfully, but these errors were encountered: