فهرست منبع

# [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 سال پیش
والد
کامیت
4f5b36b850
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  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) {
 	static void LogWarn  (const char* message) {
 		if (!DefaultLogger::isNullLogger()) {
 		if (!DefaultLogger::isNullLogger()) {
@@ -116,6 +119,8 @@ public:
 		}
 		}
 	}
 	}
 
 
+#endif
+
 private:
 private:
 
 
 	static const std::string log_prefix;
 	static const std::string log_prefix;