Ticket #7525: br1602879-gcc295.diff
File br1602879-gcc295.diff, 1.9 KB (added by , 18 years ago) |
---|
-
scummvm/common/str.cpp
45 45 } 46 46 47 47 String::String(const char *str, uint32 len) 48 : _len(0), _str(_storage) , _storage(){48 : _len(0), _str(_storage) { 49 49 50 _storage[0] = 0; 50 51 if (str && *str) { 51 52 const uint32 tmp = strlen(str); 52 53 assert(len <= tmp); -
scummvm/common/str.h
96 96 static const char *emptyString; 97 97 #endif 98 98 99 String() : _len(0), _str(_storage) , _storage() {}99 String() : _len(0), _str(_storage) { _storage[0] = 0; } 100 100 String(const char *str, uint32 len = 0); 101 101 String(const String &str); 102 102 virtual ~String(); -
scummvm/common/hashmap.h
84 84 template <class Key, class Val, class HashFunc = Hash<Key>, class EqualFunc = EqualTo<Key> > 85 85 class HashMap { 86 86 private: 87 #if defined (_WIN32_WCE) || defined (_MSC_VER) || defined (__SYMBIAN32__) || defined (PALMOS_MODE) || defined (__MINT__) 87 #if defined (_WIN32_WCE) || defined (_MSC_VER) || defined (__SYMBIAN32__) || defined (PALMOS_MODE) || defined (__MINT__) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) 88 88 //FIXME evc4, msvc6,msvc7 & GCC 2.9x doesn't like it as private member 89 89 public: 90 90 #endif -
scummvm/engines/saga/actor.cpp
1080 1080 int i; 1081 1081 ActorData *actor; 1082 1082 int width, height, height2; 1083 Point posPoint;1084 1083 1085 1084 if (_activeSpeech.playing) { 1086 1085 _activeSpeech.playingTime -= msec;