Changeset 1064 for code/trunk/src/util
- Timestamp:
- Apr 14, 2008, 9:39:57 PM (17 years ago)
- Location:
- code/trunk/src/util
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/util/Convert.h
r1062 r1064 43 43 #include "SubString.h" 44 44 #include "MultiTypeMath.h" 45 46 // disable annoying warning about forcing value to boolean 47 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC 48 #pragma warning(push) 49 #pragma warning(disable:4100 4800) 50 #endif 45 51 46 52 … … 620 626 }; 621 627 628 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC 629 #pragma warning(pop) 630 #endif 631 622 632 #endif /* _Convert_H__ */ -
code/trunk/src/util/MultiTypeMath.h
r1056 r1064 35 35 #include "MultiTypeString.h" 36 36 #include "Math.h" 37 38 // disable annoying warning about multiple assignment operators 39 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC 40 #pragma warning(push) 41 #pragma warning(disable:4522) 42 #endif 37 43 38 44 class _UtilExport MultiTypeMath : public MultiTypeString … … 160 166 _UtilExport std::ostream& operator<<(std::ostream& out, MultiTypeMath& mtm); 161 167 168 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC 169 #pragma warning(pop) 170 #endif 171 162 172 #endif /* _MultiTypeMath_H__ */ -
code/trunk/src/util/MultiTypeString.cc
r1056 r1064 120 120 return MultiTypePrimitive::toString(); 121 121 122 return output; 122 // FIXME: unreachable code 123 // return output; 123 124 } 124 125 -
code/trunk/src/util/MultiTypeString.h
r1062 r1064 37 37 38 38 #include "MultiTypePrimitive.h" 39 40 // disable annoying warning about multiple assignment operators 41 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC 42 #pragma warning(push) 43 #pragma warning(disable:4522) 44 #endif 39 45 40 46 class _UtilExport MultiTypeString : public MultiTypePrimitive … … 117 123 _UtilExport std::ostream& operator<<(std::ostream& out, MultiTypeString& mts); 118 124 125 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC 126 #pragma warning(pop) 127 #endif 128 119 129 #endif /* _MultiTypeString_H__ */ -
code/trunk/src/util/String.cc
r1062 r1064 308 308 for (unsigned int i = 0; i < str->size(); ++i) 309 309 { 310 (*str)[i] = tolower((*str)[i]);310 (*str)[i] = (char)tolower((*str)[i]); 311 311 } 312 312 } … … 332 332 for (unsigned int i = 0; i < str->size(); ++i) 333 333 { 334 (*str)[i] = toupper((*str)[i]);334 (*str)[i] = (char)toupper((*str)[i]); 335 335 } 336 336 }
Note: See TracChangeset
for help on using the changeset viewer.