我想用Visual Studio 2010(32位)編譯SkyFireEMU(https://github.com/ProjectSkyfire/SkyFireEMU),但我得到一個錯誤(幾乎在「WorldServer的」)中的所有文件:編譯SkyFireEMU錯誤,sizeof(void *)既不是
fatal error C1189: #error : sizeof(void *) is neither sizeof(int) nor sizeof(long) nor sizeof(long long)
這rederects我這個和平的代碼:
#if SIZEOF_CHARP == SIZEOF_INT
typedef int intptr;
#elif SIZEOF_CHARP == SIZEOF_LONG
typedef long intptr;
#elif SIZEOF_CHARP == SIZEOF_LONG_LONG
typedef long long intptr;
#else
#error sizeof(void *) is neither sizeof(int) nor sizeof(long) nor sizeof(long long)
#endif
有人可以幫我解決這個問題?錯誤是什麼意思?我真的不知道出了什麼問題。