Hello!
I would like to note, that using IlmImf with MS C/C++ 13.x (from
MSVC 7.x) is not possible when language extensions are disabled (/Za
compiler switch). The problem is in ImfInt64.h with declaration of
Imf::Int64 type. The aforementioned compiler does not allow "long long"
declarations as 64-bit integer declarations when /Za switch is in effect.
The proposed solution is presented below:
ImfInt64.h
// NOTE: begin of code changed by Aristarkh Zagorodnikov
#if defined PLATFORM_WIN32 && _MSC_VER >= 1300
typedef unsigned __int64 Int64;
#else
typedef long long unsigned int Int64;
#endif
// NOTE: end of code changed by Aristarkh Zagorodnikov
/*
NOTE: original code goes here
typedef long long unsigned int Int64;
*/
#endif
P.S. Thanks to developers of The Library :) - it works great.
Actually, I do not remember any library with such a seamless integration
(compared with its size of course).
Aristarkh A Zagorodnikov
X-Infinity Software