You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compile error. Unable convert form nullptr to nullptr&& #1135
error C2664: "BasicJsonType *nlohmann::detail::json_sax_dom_parser::handle_value(Value &&)": невозможно преобразовать аргумент 1 из "nullptr" в "nullptr &&"
I don't know how to proceed here. To summarize, it seems as if you are using the exact compiler version as we are doing on AppVeyor. Could you make sure that you run the exact same commands as here?
Activity
nlohmann commentedon Jun 17, 2018
What code do you try to compile? Which compiler are you using? What version of the library are you using?
kirill-782 commentedon Jun 17, 2018
visual studio 2015 (vc140). library downloaded from develop branch (last version)
nlohmann commentedon Jun 17, 2018
Is that compiler supported? From the README: Microsoft Visual C++ 2015 / Build Tools 14.0.25123.0 (and possibly later)
kirill-782 commentedon Jun 17, 2018
Microsoft Visual Studio Enterprise 2015
Версия 14.0.25431.01 Update 3
Microsoft .NET Framework
Версия 4.7.03056
nlohmann commentedon Jun 17, 2018
Could you try to remove
using namespace std?kirill-782 commentedon Jun 17, 2018
Nothing has changed
nlohmann commentedon Jun 18, 2018
That is strange as we use MSVC 2015 with AppVeyor in your CI suite.
kirill-782 commentedon Jun 20, 2018
Can any macro be defined? Or any compilation option? Can you sln the file?
nlohmann commentedon Jun 20, 2018
Maybe related: #987.
nlohmann commentedon Jun 20, 2018
What do you mean by that?
nlohmann commentedon Jun 26, 2018
@kirill-782 Could you comment on #1135 (comment) ?
kirill-782 commentedon Jun 26, 2018
I'm interested in Build Tools. 140 or 141?
nlohmann commentedon Jun 26, 2018
AppVeyor uses Microsoft (R) Build Engine version 14.0.25420.1, MSVC 19.0.24215.1. What do you mean?
kirill-782 commentedon Jun 27, 2018
It is very strange.
nlohmann commentedon Jul 9, 2018
I don't know how to proceed here. To summarize, it seems as if you are using the exact compiler version as we are doing on AppVeyor. Could you make sure that you run the exact same commands as here?
kirill-782 commentedon Jul 10, 2018
The problem was solved by disabling the CRL in the compiler settings
nlohmann commentedon Jul 10, 2018
Thanks for checking back!