I've been at this for a little while now and am getting a little frustrated. My ducks should all be in a row but I'm still getting this very annoying string of compile errors.
Code:
1>------ Build started: Project: stub_mm, Configuration: Release - Original Win32 ------
1> stub_mm.cpp
1>C:\HL2SDK\public\tier0/platform.h(668): error C2144: syntax error : 'void' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(668): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(673): error C2144: syntax error : 'bool' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(673): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(673): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(682): error C2144: syntax error : 'void' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(682): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(682): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1055): error C2144: syntax error : 'void' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1055): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1055): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1056): error C2144: syntax error : 'bool' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1056): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1056): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1059): error C2144: syntax error : 'double' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1059): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1059): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1060): error C2146: syntax error : missing ';' before identifier 'uint32'
1>C:\HL2SDK\public\tier0/platform.h(1060): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1060): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1061): error C2146: syntax error : missing ';' before identifier 'uint64'
1>C:\HL2SDK\public\tier0/platform.h(1061): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1061): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1065): error C2144: syntax error : 'void' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1065): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1065): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1068): error C2144: syntax error : 'void' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1068): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1068): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1071): error C2144: syntax error : 'void' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1071): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1071): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1074): error C2144: syntax error : 'void' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1074): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1074): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1078): error C2144: syntax error : 'void' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1078): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1078): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1080): error C2144: syntax error : 'void' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1080): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1080): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1136): error C2143: syntax error : missing ';' before 'const'
1>C:\HL2SDK\public\tier0/platform.h(1136): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1136): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1143): error C2144: syntax error : 'void' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1143): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1143): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1144): error C2144: syntax error : 'void' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1144): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1144): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1145): error C2144: syntax error : 'void' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1145): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1145): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1150): error C2144: syntax error : 'void' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1150): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1150): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1151): error C2144: syntax error : 'void' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1151): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1151): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1158): error C2144: syntax error : 'bool' should be preceded by ';'
1>C:\HL2SDK\public\tier0/platform.h(1158): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\HL2SDK\public\tier0/platform.h(1158): error C2086: 'int DLL_IMPORT' : redefinition
1> C:\HL2SDK\public\tier0/platform.h(668) : see declaration of 'DLL_IMPORT'
1>C:\HL2SDK\public\tier0/platform.h(1163): error C2144: syntax error : 'bool' should be preceded by ';'
The list goes on...I've linked intefaces.lib, and added the non-deprecating preprocessor directives. I can't think of anything else that would be causing these errors. Any help would be much appreciated!