windows: don't call zlibVersion(), it causes a crash #FIXME
Dieser Commit ist enthalten in:
Ursprung
d931591fab
Commit
13552ae7ae
@ -26,6 +26,7 @@
|
||||
#include <boost/uuid/string_generator.hpp>
|
||||
#include <boost/uuid/uuid_io.hpp>
|
||||
#include <archive.h>
|
||||
//#define ZLIB_WINAPI
|
||||
#include <zlib.h>
|
||||
#include <version.hpp>
|
||||
#include <traintastic/utils/str.hpp>
|
||||
@ -174,7 +175,9 @@ Traintastic::RunStatus Traintastic::run(const std::string& worldUUID, bool simul
|
||||
Log::log(*this, LogMessage::I1006_X, boostVersion);
|
||||
Log::log(*this, LogMessage::I1007_X, std::string_view{"nlohmann::json " STR(NLOHMANN_JSON_VERSION_MAJOR) "." STR(NLOHMANN_JSON_VERSION_MINOR) "." STR(NLOHMANN_JSON_VERSION_PATCH)});
|
||||
Log::log(*this, LogMessage::I1008_X, std::string_view{archive_version_details()});
|
||||
Log::log(*this, LogMessage::I1009_ZLIB_X, std::string_view{zlibVersion()});
|
||||
#ifndef WIN32
|
||||
Log::log(*this, LogMessage::I1009_ZLIB_X, std::string_view{zlibVersion()}); // FIXME: this crashes on windows, why?
|
||||
#endif
|
||||
//! \todo Add tcb::span version when available, see https://github.com/tcbrindle/span/issues/33
|
||||
Log::log(*this, LogMessage::I9002_X, Lua::getVersion());
|
||||
|
||||
|
||||
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren