Disable warnings when including system headers (conflict between VS 2010 and Windows SDK definitions).
#pragma comment( lib, "FreeImage.lib" )
#endif
#elif defined(HAVE_WINCODEC)
- //#include <initguid.h>
#include <wincodec.h>
+ // prevent warnings on MSVC10
+ #include <Standard_WarningsDisable.hxx>
+ #include <Standard_TypeDef.hxx>
+ #include <Standard_WarningsRestore.hxx>
#undef min
#undef max
#endif
#include <TCollection_AsciiString.hxx>
#include <TCollection_ExtendedString.hxx>
#include <OSD_OpenFile.hxx>
+
#include <fstream>
#include <algorithm>