From 0cc25491a4324d9e7dc7fb085c825a79d6c3c6d6 Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Sun, 24 Dec 2017 15:25:42 +0200 Subject: [PATCH] irrXML: Remove horrible hack --- contrib/irrXML/CXMLReaderImpl.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/contrib/irrXML/CXMLReaderImpl.h b/contrib/irrXML/CXMLReaderImpl.h index 63b700dc1..7d33b9404 100644 --- a/contrib/irrXML/CXMLReaderImpl.h +++ b/contrib/irrXML/CXMLReaderImpl.h @@ -9,6 +9,8 @@ #include "irrString.h" #include "irrArray.h" +#include + using namespace Assimp; #ifdef _DEBUG @@ -664,12 +666,9 @@ private: TextData = new char_type[sizeWithoutHeader]; // MSVC debugger complains here about loss of data ... - - - // FIXME - gcc complains about 'shift width larger than width of type' - // for T == unsigned long. Avoid it by messing around volatile .. - volatile unsigned int c = 3; - const src_char_type cc = (src_char_type)((((uint64_t)1u << (sizeof( char_type)<