gameboy Posted August 29, 2017 Report Share Posted August 29, 2017 Today, I compiled the latest code SVN20067 with VS2013, and the following error occurred: 4 error C2440: error: unable to "<function-style-cast>" from "nullptr" into the "time_t" d:\trunk\source\lobby\XmppClient.h 157 1 lobby 62 error LNK1181: error cannot open input file "..\..\..\binaries\system\lobby.lib" D:\trunk\build\workspaces\vc2013\LINK pyrogenesis 64 error LNK1181: error cannot open input file "..\..\..\binaries\system\lobby.lib" D:\trunk\build\workspaces\vc2013\LINK test Quote Link to comment Share on other sites More sharing options...
gameboy Posted August 29, 2017 Author Report Share Posted August 29, 2017 @elexis Quote Link to comment Share on other sites More sharing options...
elexis Posted August 29, 2017 Report Share Posted August 29, 2017 Index: source/lobby/XmppClient.h =================================================================== --- source/lobby/XmppClient.h (revision 20067) +++ source/lobby/XmppClient.h (working copy) @@ -154,7 +154,7 @@ const std::string& property1_value = "", const std::string& property2_name = "", const std::string& property2_value = "", - const std::time_t time = std::time_t(nullptr)); + const std::time_t time = std::time(nullptr)); private: /// Map of players Quote Link to comment Share on other sites More sharing options...
gameboy Posted August 29, 2017 Author Report Share Posted August 29, 2017 @elexisMy friend, have you fixed it ? I want to know, thank you! Quote Link to comment Share on other sites More sharing options...
elexis Posted August 29, 2017 Report Share Posted August 29, 2017 Can you test that patch? 1 Quote Link to comment Share on other sites More sharing options...
gameboy Posted August 29, 2017 Author Report Share Posted August 29, 2017 yes,thank you. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.