[Scummvm-cvs-logs] SF.net SVN: scummvm: [30013] scummvm/trunk/common/hashmap.h

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Dec 27 17:01:59 CET 2007


Revision: 30013
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30013&view=rev
Author:   lordhoto
Date:     2007-12-27 08:01:59 -0800 (Thu, 27 Dec 2007)

Log Message:
-----------
Fix for bug #1858824 "AMIGAOS4: Build Process breaks due to regression".

Modified Paths:
--------------
    scummvm/trunk/common/hashmap.h

Modified: scummvm/trunk/common/hashmap.h
===================================================================
--- scummvm/trunk/common/hashmap.h	2007-12-27 12:05:43 UTC (rev 30012)
+++ scummvm/trunk/common/hashmap.h	2007-12-27 16:01:59 UTC (rev 30013)
@@ -120,8 +120,8 @@
 	class Iterator {
 		typedef const HashMap<Key, Val, HashFunc, EqualFunc> *hashmap_t;
 		friend class HashMap<Key, Val, HashFunc, EqualFunc>;
-#ifdef MACOSX
-	public:	// FIXME: Work around a bug in gcc version 4.0.1 (Apple Computer, Inc. build 5367)
+#if (__GNUC__ == 4) && (__GNUC_MINOR__ == 0)
+	public:	// FIXME: Work around a bug in gcc version 4.0 (gcc 4.0.1 Apple Computer, Inc. build 5367 and gcc 4.0.2 AmigaOS build 20051012)
 #endif
 		uint _idx;
 		hashmap_t _hashmap;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list