File gle-graphics-gcc47.patch of Package gle-graphics

--- src/gle/tokens/StringKeyHash.h	2010-06-14 17:34:39.000000000 +0200
+++ src/gle/tokens/StringKeyHash.h	2012-03-17 23:18:52.683785502 +0100
@@ -254,7 +254,7 @@
 			return i->second;
 		} else {
 			ElemType nelem(key);
-			insert(StringKeyPair<ElemType>(key, nelem));
+			this->insert(StringKeyPair<ElemType>(key, nelem));
 			return nelem;
 		}
 	}
@@ -269,7 +269,7 @@
 	}
 
 	void add_item(const name_hash_key& key, const ElemType& elem) {
-		insert(StringKeyPair<ElemType>(key, elem));
+		this->insert(StringKeyPair<ElemType>(key, elem));
 	}
 
 	ostream& write(ostream &os, int tab) const {
@@ -309,7 +309,7 @@
 	}
 
 	void add_item(int key, ElemType elem) {
-		insert(IntKeyPair<ElemType>(key, elem));
+		this->insert(IntKeyPair<ElemType>(key, elem));
 	}
 };
 
--- src/gle/tokens/RefCount.h	2010-06-14 17:34:39.000000000 +0200
+++ src/gle/tokens/RefCount.h	2012-03-17 23:24:59.823283918 +0100
@@ -78,11 +78,11 @@
 		unsafe_ptr = NULL;
 	}
 	inline RefCountPtr<T>& operator =(RefCountPtr<T> src) {
-		setPtr(src.unsafe_ptr);
+		this->setPtr(src.unsafe_ptr);
 		return *this;
 	}
 	inline RefCountPtr<T>& operator =(T *src) {
-     		setPtr(src);
+     		this->setPtr(src);
 		return *this;
 	}
 	void setPtr(T *ptr) {
@@ -94,7 +94,7 @@
 		}
 		unsafe_ptr = ptr;
 	}
-	inline void SetPtr(T *ptr) { setPtr(ptr); }
+	inline void SetPtr(T *ptr) { this->setPtr(ptr); }
 	inline T& operator*() const { return *unsafe_ptr; }
 	inline T* operator->() const { return unsafe_ptr; }
 	inline T* get() const {return unsafe_ptr;}
@@ -125,7 +125,7 @@
 template <class T> class MutableRefCountPtr : public RefCountPtr<T> {
 public:
 	inline RefCountPtr<T>& operator =(RefCountPtr<T> src) {
-		setPtr(src.get()); return *this;
+		this->setPtr(src.get()); return *this;
 	};
 };
 
--- src/gle/gle-interface/gle-base.h	2011-05-15 12:14:01.000000000 +0200
+++ src/gle/gle-interface/gle-base.h	2012-03-17 23:28:42.928013138 +0100
@@ -130,7 +130,7 @@
 
 template <class T> class GLERCVector : public vector< GLERC<T> > {
 public:
-	inline void add(T* elem) { push_back(GLERC<T>(elem)); }
+	inline void add(T* elem) { this->push_back(GLERC<T>(elem)); }
 	inline T* get(int i) { return (*this)[i].get(); }
 };
 
@@ -147,7 +147,7 @@
 	}
 	void deleteAll() {
 		for (typename vector<T*>::size_type i = 0; i < vector<T*>::size(); i++) {
-			T* elem = at(i);
+			T* elem = this->at(i);
 			if (elem != NULL) delete elem;
 		}
 	}