Selaa lähdekoodia

# [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 14 vuotta sitten
vanhempi
commit
4f5b36b850
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  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;