Explorar o código

# [3358562] disable the second set of LogFunctions<T>::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
aramis_acg %!s(int64=14) %!d(string=hai) anos
pai
achega
4f5b36b850
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      code/LogAux.h

+ 5 - 0
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;