diff --git a/code/LogAux.h b/code/LogAux.h index df56b0f48..73e92c0fc 100644 --- a/code/LogAux.h +++ b/code/LogAux.h @@ -88,6 +88,9 @@ public: } } + // https://sourceforge.net/tracker/?func=detail&atid=1067632&aid=3358562&group_id=226462 +#if !defined(__GNUC__) || !defined(__APPLE__) || (__GNUC__ >= 4 && __GNUC_MINOR__ >= 3) + // ------------------------------------------------------------------------------------------------ static void LogWarn (const char* message) { if (!DefaultLogger::isNullLogger()) { @@ -116,6 +119,8 @@ public: } } +#endif + private: static const std::string log_prefix;