Code: Select all
windows\main.cpp(54) : fatal error C1189: #error : Unknown Compiler versionI do also have some questions about the files generated in debug build, what is the DCPlusPlus.ilk file good for?
Edit: I can get it to compile if change this:
Code: Select all
#ifndef _DEBUG
#if _MSC_VER == 1200
__pfnDliFailureHook = FailHook;
#elif _MSC_VER == 1300
__pfnDliFailureHook2 = FailHook;
#else
#error Unknown Compiler version
#endifTo this:
Code: Select all
#ifndef _DEBUG
#if _MSC_VER == 1200
__pfnDliFailureHook = FailHook;
#elif _MSC_VER == 1300
__pfnDliFailureHook2 = FailHook;
#else
//#error Unknown Compiler version
#endifAs you see does it compile if I comments the line generating this error, but I don´t think this is a good solution. Anyone having an better idea?