gameboy Posted August 29, 2017 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 Link to comment Share on other sites More sharing options...
gameboy Posted August 29, 2017 Author Share Posted August 29, 2017 @elexis Link to comment Share on other sites More sharing options...
elexis Posted August 29, 2017 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 Link to comment Share on other sites More sharing options...
gameboy Posted August 29, 2017 Author Share Posted August 29, 2017 @elexisMy friend, have you fixed it ? I want to know, thank you! Link to comment Share on other sites More sharing options...
elexis Posted August 29, 2017 Share Posted August 29, 2017 Can you test that patch? 1 Link to comment Share on other sites More sharing options...
gameboy Posted August 29, 2017 Author Share Posted August 29, 2017 yes,thank you. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now