ICE 3.5.1 visual studio 2015 compile C4275 warning
While compiling my project (I inherited it, so I don't know too many details), I receive the following warnings:
1>c:\program files (x86)\zeroc\ice-3.5.1\include\iceutil\exception.h(21): warning C4275: non dll-interface class 'std::exception' used as base for dll-interface class 'IceUtil::Exception'
1> c:\program files (x86)\microsoft visual studio 14.0\vc\include\vcruntime_exception.h(43): note: see declaration of 'std::exception'
1> c:\program files (x86)\zeroc\ice-3.5.1\include\iceutil\exception.h(20): note: see declaration of 'IceUtil::Exception'
1>c:\program files (x86)\zeroc\ice-3.5.1\include\ice\format.h(35): warning C4091: '__declspec(dllimport)': ignored on left of 'Ice::FormatType' when no variable is declared
This is compiled using ICE 3.5.1 and visual studio C++ 2015. From what I have read, this is a new warning in VS2015, and people suggest to just ignore it (and in this case, because it's the ICE libraries that are exporting the class, there isn't much I can do about it anyway). However, I am receiving a memory access violation exception, and I am concerned it might be related.