Index: common/list.h =================================================================== --- common/list.h (revision 39046) +++ common/list.h (working copy) @@ -29,6 +29,8 @@ namespace Common { + template + class Iterator; /** * Simple double linked list, modeled after the list template of the standard * C++ library. @@ -54,7 +56,7 @@ template class Iterator { - template friend class Iterator; + template friend class Common::Iterator; friend class List; NodeBase *_node; Index: common/hashmap.h =================================================================== --- common/hashmap.h (revision 39046) +++ common/hashmap.h (working copy) @@ -41,6 +41,8 @@ namespace Common { +template class IteratorImpl; + // Enable the following #define if you want to check how many collisions the // code produces (many collisions indicate either a bad hash function, or a // hash table that is too small). @@ -128,7 +130,7 @@ template class IteratorImpl { friend class HashMap; - template friend class IteratorImpl; + template friend class Common::IteratorImpl; protected: typedef const HashMap hashmap_t; Index: engines/groovie/graphics.cpp =================================================================== --- engines/groovie/graphics.cpp (revision 39046) +++ engines/groovie/graphics.cpp (working copy) @@ -60,8 +60,8 @@ _fading = 0; // Clear the buffer when ending the fade out - if (_fading == 2) - _foreground.fillRect(Common::Rect::Rect(640, 320), 0); + if (_fading == 2) + _foreground.fillRect(Common::Rect(640, 320), 0); } }