diff --git a/src/framework/net/protocol.cpp b/src/framework/net/protocol.cpp index dbf5aefe..bc1c3f94 100644 --- a/src/framework/net/protocol.cpp +++ b/src/framework/net/protocol.cpp @@ -27,11 +27,11 @@ Protocol::Protocol() { m_connection = g_connections.createConnection(); - m_connection->setErrorCallback( + /*m_connection->setErrorCallback( [this](const boost::system::error_code& error, const std::string& msg){ this->onError(error, msg); } - ); + );*/ } void Protocol::send(NetworkMessagePtr networkMessage, Connection::ConnectionCallback onSend) diff --git a/src/framework/prerequisites.h b/src/framework/prerequisites.h index f69fff0f..56599edd 100644 --- a/src/framework/prerequisites.h +++ b/src/framework/prerequisites.h @@ -39,6 +39,8 @@ typedef int32_t int32; typedef int16_t int16; typedef int8_t int8; +#undef __STRICT_ANSI__ + // C headers #include #include diff --git a/src/framework/util/logger.cpp b/src/framework/util/logger.cpp index 9a57a354..fa49b856 100644 --- a/src/framework/util/logger.cpp +++ b/src/framework/util/logger.cpp @@ -21,6 +21,7 @@ * THE SOFTWARE. */ +#undef __STRICT_ANSI__ #include "logger.h" #include "util.h" diff --git a/src/framework/util/util.cpp b/src/framework/util/util.cpp index 9f08f9fd..4ffdd038 100644 --- a/src/framework/util/util.cpp +++ b/src/framework/util/util.cpp @@ -21,6 +21,7 @@ * THE SOFTWARE. */ +#undef __STRICT_ANSI__ #include "util.h" #include