From 4f5b36b85020c3cbd535bb286a8b5f39d763605e Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Thu, 28 Jul 2011 12:23:39 +0000 Subject: [PATCH] # [3358562] disable the second set of LogFunctions::LogXXX overloads, which cause trouble on Mac OSX with gcc 4.2 for reasons not totally comprehensible to me. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1058 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/LogAux.h | 5 +++++ 1 file changed, 5 insertions(+) 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;