Win SDK 8.0 Compile Errors - c++
I am using simple-ipc-lib in my project. I have Visual Studio 2012 with Windows SDK 8.0. I also have VS2010 and Win SDK 7.0. I have sometimes installed and uninstalled Visual Studios because of some necessary work.
I have successfully build simple-ipc-lib in VS2012. Its unit-tests are also working fine.
I am now trying to develop an application with it. I made an empty project in VS2012 and included header files and lib. But on compiling it gives me errors
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(24): error C2146: syntax error : missing ';' before identifier 'fd1'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(24): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(24): warning C4183: 'fd1': missing return type; assumed to be a member function returning 'int'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(25): error C2146: syntax error : missing ';' before identifier 'fd2'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(25): warning C4183: 'fd2': missing return type; assumed to be a member function returning 'int'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(27): error C2146: syntax error : missing ';' before identifier 'OpenPipeServer'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(27): warning C4183: 'OpenPipeServer': missing return type; assumed to be a member function returning 'int'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(28): error C2146: syntax error : missing ';' before identifier 'OpenPipeClient'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(28): error C2086: 'int PipePair::HANDLE' : redefinition
1> C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(27) : see declaration of 'PipePair::HANDLE'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(28): warning C4183: 'OpenPipeClient': missing return type; assumed to be a member function returning 'int'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(31): error C2146: syntax error : missing ';' before identifier 'srv_'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(32): error C2146: syntax error : missing ';' before identifier 'cln_'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(32): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(24): error C2065: 'srv_' : undeclared identifier
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(25): error C2065: 'cln_' : undeclared identifier
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(40): error C2061: syntax error : identifier 'HANDLE'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(41): error C2061: syntax error : identifier 'HANDLE'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(49): error C2146: syntax error : missing ';' before identifier 'pipe_'
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(49): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(46): error C2065: 'INVALID_HANDLE_VALUE' : undeclared identifier
1>C:\CEF\simple-ipc-lib\V8_ipc\deps\simple-ipc-lib-read-only\src\pipe_win.h(46): error C2065: 'pipe_' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(46): error C2146: syntax error : missing ';' before identifier 'nLength'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(46): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(47): error C2146: syntax error : missing ';' before identifier 'lpSecurityDescriptor'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(47): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(48): error C2146: syntax error : missing ';' before identifier 'bInheritHandle'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(48): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(52): error C2146: syntax error : missing ';' before identifier 'Internal'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(52): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(53): error C2146: syntax error : missing ';' before identifier 'InternalHigh'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(53): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(56): error C2146: syntax error : missing ';' before identifier 'Offset'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(56): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(57): error C2146: syntax error : missing ';' before identifier 'OffsetHigh'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(59): error C2146: syntax error : missing ';' before identifier 'Pointer'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(59): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(62): error C2146: syntax error : missing ';' before identifier 'hEvent'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(62): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(66): error C2146: syntax error : missing ';' before identifier 'lpCompletionKey'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(66): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(68): error C2146: syntax error : missing ';' before identifier 'Internal'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(68): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(69): error C2146: syntax error : missing ';' before identifier 'dwNumberOfBytesTransferred'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(69): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(80): error C2146: syntax error : missing ';' before identifier 'dwLowDateTime'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(80): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(81): error C2146: syntax error : missing ';' before identifier 'dwHighDateTime'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(81): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(90): error C2146: syntax error : missing ';' before identifier 'wYear'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(90): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(91): error C2146: syntax error : missing ';' before identifier 'wMonth'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(91): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(92): error C2146: syntax error : missing ';' before identifier 'wDayOfWeek'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(92): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(93): error C2146: syntax error : missing ';' before identifier 'wDay'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(93): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(94): error C2146: syntax error : missing ';' before identifier 'wHour'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(94): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(95): error C2146: syntax error : missing ';' before identifier 'wMinute'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(95): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(96): error C2146: syntax error : missing ';' before identifier 'wSecond'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(96): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(97): error C2146: syntax error : missing ';' before identifier 'wMilliseconds'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(97): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(102): error C2146: syntax error : missing ';' before identifier 'dwFileAttributes'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(102): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(106): error C2146: syntax error : missing ';' before identifier 'nFileSizeHigh'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(106): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(107): error C2146: syntax error : missing ';' before identifier 'nFileSizeLow'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(107): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(108): error C2146: syntax error : missing ';' before identifier 'dwReserved0'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(108): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(109): error C2146: syntax error : missing ';' before identifier 'dwReserved1'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(109): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(110): error C2146: syntax error : missing ';' before identifier 'cFileName'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(110): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(110): error C2065: 'MAX_PATH' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(111): error C2146: syntax error : missing ';' before identifier 'cAlternateFileName'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(111): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(119): error C2146: syntax error : missing ';' before identifier 'dwFileAttributes'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(119): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(123): error C2146: syntax error : missing ';' before identifier 'nFileSizeHigh'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(123): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(124): error C2146: syntax error : missing ';' before identifier 'nFileSizeLow'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(124): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(125): error C2146: syntax error : missing ';' before identifier 'dwReserved0'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(125): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(126): error C2146: syntax error : missing ';' before identifier 'dwReserved1'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(126): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(127): error C2146: syntax error : missing ';' before identifier 'cFileName'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(127): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(127): error C2065: 'MAX_PATH' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(128): error C2146: syntax error : missing ';' before identifier 'cAlternateFileName'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(128): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(198): error C2146: syntax error : missing ';' before identifier 'CRITICAL_SECTION'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(198): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(199): error C2146: syntax error : missing ';' before identifier 'PCRITICAL_SECTION'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(199): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(202): error C2146: syntax error : missing ';' before identifier 'CRITICAL_SECTION_DEBUG'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(202): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(203): error C2146: syntax error : missing ';' before identifier 'PCRITICAL_SECTION_DEBUG'
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(203): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(208): error C2065: 'WINAPI' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(208): error C2065: 'LPOVERLAPPED_COMPLETION_ROUTINE' : undeclared identifier
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(208): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\minwinbase.h(208): fatal error C1903: unable to recover from previous error(s); stopping compilation
Separate compilation of Simple IPC lib is doing right. I can not understand the errors in this. Please help.
Thanks in advance.
Related
C++: PlaySound() gives 100+ compilation errors [closed]
Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 6 months ago. Improve this question I am trying to play a sound in C++. When I use the PlaySound() function, Visual Studio gives 100+ compilation errors (I know this because the compiler stops at 100 errors). Below is my code: #include <mmsystem.h> #include <windows.h> int main() { bool played = PlaySound(TEXT("sound.wav"), NULL, SND_SYNC); return 0; } Visual Studio's linter also gives the error: identifier PlaySoundW is undefined This is the compilation output: 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(94,30): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(94,21): error C2146: syntax error: missing ';' before identifier 'MMVERSION' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(98,32): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(98,32): error C2059: syntax error: 'return' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(102,20): error C2143: syntax error: missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(102,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(112,21): error C3646: 'ms': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(112,23): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(113,21): error C3646: 'sample': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(113,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(114,21): error C3646: 'cb': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(114,23): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(115,21): error C3646: 'ticks': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(115,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(120,21): error C3646: 'hour': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(120,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(121,21): error C3646: 'min': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(121,24): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(122,21): error C3646: 'sec': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(122,24): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(123,21): error C3646: 'frame': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(123,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(124,21): error C3646: 'fps': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(124,24): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(125,21): error C3646: 'dummy': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(125,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(127,21): error C3646: 'pad': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(127,24): error C2143: syntax error: missing ',' before '[' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(127,27): error C2238: unexpected token(s) preceding ';' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(134,19): error C3646: 'songptrpos': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(134,29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137,26): error C2143: syntax error: missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137,35): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137,41): error C2143: syntax error: missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137,41): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137,41): error C2377: 'FAR': redefinition; typedef cannot be overloaded with any other symbol 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(102): message : see declaration of 'FAR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137,50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(275,21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(275,16): error C2065: 'HDRVR': undeclared identifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297,24): error C2146: syntax error: missing ')' before identifier 'DRVCALLBACK' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297,24): error C2146: syntax error: missing ';' before identifier 'DRVCALLBACK' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297,35): error C2059: syntax error: ')' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297,43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297,37): error C2065: 'HDRVR': undeclared identifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297,43): error C2146: syntax error: missing ')' before identifier 'hdrvr' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(299,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(299,25): error C2378: 'DRVCALLBACK': redefinition; symbol cannot be overloaded with a typedef 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297): message : see declaration of 'DRVCALLBACK' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(299,21): error C2146: syntax error: missing ';' before identifier 'FAR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(299,25): error C2143: syntax error: missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(299,21): error C2086: 'int FAR': redefinition 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(299,39): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(301,25): error C2143: syntax error: missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(301,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(301,25): error C2378: 'DRVCALLBACK': redefinition; symbol cannot be overloaded with a typedef 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297): message : see declaration of 'DRVCALLBACK' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(301,38): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(37,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(37,17): error C2146: syntax error: missing ';' before identifier 'MCIERROR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(45,24): error C2143: syntax error: missing ')' before '*' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(45,24): error C2143: syntax error: missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(45,15): error C2371: 'CALLBACK': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(297): message : see declaration of 'CALLBACK' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(45,34): error C2059: syntax error: ')' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(45,73): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(52,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(51,1): error C2146: syntax error: missing ';' before identifier 'MCIERROR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(62,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(60,1): error C2086: 'int DECLSPEC_IMPORT': redefinition 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(61,1): error C2146: syntax error: missing ';' before identifier 'MCIERROR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(77,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(75,1): error C2086: 'int DECLSPEC_IMPORT': redefinition 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(76,1): error C2146: syntax error: missing ';' before identifier 'MCIERROR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(87,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(85,1): error C2086: 'int DECLSPEC_IMPORT': redefinition 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(86,1): error C2146: syntax error: missing ';' before identifier 'MCIERROR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(102,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(100,1): error C2086: 'int DECLSPEC_IMPORT': redefinition 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(101,1): error C2146: syntax error: missing ';' before identifier 'MCIDEVICEID' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(109,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(107,1): error C2086: 'int DECLSPEC_IMPORT': redefinition 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(108,1): error C2146: syntax error: missing ';' before identifier 'MCIDEVICEID' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(121,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(119,1): error C2086: 'int DECLSPEC_IMPORT': redefinition 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(120,1): error C2146: syntax error: missing ';' before identifier 'MCIDEVICEID' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(129,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(127,1): error C2086: 'int DECLSPEC_IMPORT': redefinition 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(128,1): error C2146: syntax error: missing ';' before identifier 'MCIDEVICEID' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(142,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(140,1): error C2086: 'int DECLSPEC_IMPORT': redefinition 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(141,1): error C2146: syntax error: missing ';' before identifier 'BOOL' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(151,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(149,1): error C2086: 'int DECLSPEC_IMPORT': redefinition 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(150,1): error C2146: syntax error: missing ';' before identifier 'BOOL' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(173,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(171,1): error C2086: 'int DECLSPEC_IMPORT': redefinition 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(172,1): error C2146: syntax error: missing ';' before identifier 'BOOL' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(202,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(200,1): error C2086: 'int DECLSPEC_IMPORT': redefinition 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(50): message : see declaration of 'DECLSPEC_IMPORT' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(201,1): error C2146: syntax error: missing ';' before identifier 'BOOL' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(499,17): error C3646: 'dwCallback': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(499,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(500,47): error C2143: syntax error: missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(500,43): error C2371: 'FAR': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(500,67): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(507,17): error C3646: 'dwCallback': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(507,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(509,16): error C3646: 'lpstrDeviceType': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(509,31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(510,16): error C3646: 'lpstrElementName': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(510,32): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(511,16): error C3646: 'lpstrAlias': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(511,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(514,17): error C3646: 'dwCallback': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(514,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(516,16): error C3646: 'lpstrDeviceType': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(516,31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(517,16): error C3646: 'lpstrElementName': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(517,32): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(518,16): error C3646: 'lpstrAlias': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(518,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(544,17): error C3646: 'dwCallback': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(544,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(547,41): error C2143: syntax error: missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(547,37): error C2371: 'FAR': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(547,58): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(552,17): error C3646: 'dwCallback': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(552,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(554,41): error C2143: syntax error: missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(554,37): error C2371: 'FAR': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(554,58): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(559,17): error C3646: 'dwCallback': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(559,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(560,17): error C3646: 'dwReturn': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(560,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(563,45): error C2143: syntax error: missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(563,41): error C2371: 'FAR': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(563,65): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(570,15): error C3646: 'dwCallback': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(570,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(571,15): error C3646: 'lpstrReturn': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(571,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(575,15): error C3646: 'dwCallback': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(575,25): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(576,15): error C3646: 'lpstrReturn': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(576,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(598,17): error C3646: 'dwCallback': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(598,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(601,53): error C2143: syntax error: missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(601,49): error C2371: 'FAR': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(601,77): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(608,17): error C3646: 'dwCallback': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(608,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(609,17): error C3646: 'lpstrReturn': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(609,28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(615,17): error C3646: 'dwCallback': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(615,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(616,17): error C3646: 'lpstrReturn': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(616,28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(644,17): error C3646: 'dwCallback': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(644,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(647,39): error C2143: syntax error: missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(647,35): error C2371: 'FAR': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(647,55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(652,17): error C3646: 'dwCallback': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(652,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(655,17): error C3646: 'hwndBreak': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(655,26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(662,43): error C2143: syntax error: missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(662,39): error C2371: 'FAR': redefinition; different basic types 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mmsyscom.h(137): message : see declaration of 'FAR' 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(662,62): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(669,18): error C3646: 'dwCallback': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(669,28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(670,18): error C3646: 'lpfilename': unknown override specifier 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\mciapi.h(670,28): fatal error C1003: error count exceeds 100; stopping compilation How do I prevent these compilation errors?
Include <windows.h> first, then <mmsystem.h>
C++ compilation error in standard windows SDK files
I'm getting a weird compilation error like below. I see none of the errors point to my source files. But still my VS2017 C++ DLL project doesn't compile because, of the below compilation errors which are in standard windows SDK files. I'm not sure what this means & how to fix it. Any suggesstions would be helpful. 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\prsht.h(609): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\prsht.h(609): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(268): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(268): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(273): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(273): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(286): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(286): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(302): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(302): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(310): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(310): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(460): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(460): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(477): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(477): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1116): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1116): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1125): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1125): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1141): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1141): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1152): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1152): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1172): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1172): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1675): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1675): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1717): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1717): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1728): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1728): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1740): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1740): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1749): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1749): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1771): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1771): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1781): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1781): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1822): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1822): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1831): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(1831): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2120): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2120): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2129): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2129): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2145): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2145): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2153): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2153): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2470): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2470): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2479): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2479): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2831): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(2831): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4435): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4435): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4453): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4453): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4506): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4506): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4517): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4517): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4524): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4524): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4553): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4553): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4620): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4620): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4625): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4625): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4645): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4645): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4668): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4668): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4679): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(4679): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5429): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5429): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5438): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5438): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5477): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5477): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5482): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5482): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5558): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5558): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5609): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5609): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5618): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5618): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5780): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5780): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5785): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5785): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5834): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5834): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5841): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5841): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5861): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5861): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5869): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(5869): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6204): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6204): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6573): error C3646: 'nmhdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6573): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6590): error C3646: 'nmhdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6590): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6609): error C3646: 'nmhdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6609): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6776): error C3646: 'nmhdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6776): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6785): error C3646: 'nmhdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6785): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6793): error C3646: 'nmhdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6793): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6814): error C3646: 'nmhdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6814): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6822): error C3646: 'nmhdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6822): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6843): error C3646: 'nmhdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6843): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6852): error C3646: 'nmhdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6852): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6874): error C3646: 'nmhdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6874): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6881): error C3646: 'nmhdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6881): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6939): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(6939): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7097): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7097): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7118): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7141): error C3646: 'hdr': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7141): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7770): error C2061: syntax error: identifier 'LPSCROLLINFO' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\commctrl.h(7785): error C2061: syntax error: identifier 'LPSCROLLINFO' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\shlobj_core.h(563): error C2061: syntax error: identifier 'LPSHELLEXECUTEINFOA' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\shlobj_core.h(571): error C2061: syntax error: identifier 'LPSHELLEXECUTEINFOW'
You get this error because NMHDR is undefined. Just #include <windows.h> before you include commctrl.h #include <windows.h> #include <commctrl.h> ... See also compiler error c3646
Error including ntdsapi.h and activeds.h in Visual C++ DLL Project
I created a C++ Windows DLL Project in Visual Studio 2017. Following is the code which I have wrote, nothing much but importing the header files so far now. #include "stdafx.h" #include "windows.h" #include "ntdsapi.h" #include "activeds.h" #pragma comment(lib, "ntdsapi.lib") #pragma comment(lib, "activeds.lib") BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break; } return TRUE; } When I tried to compile, I get a lot of errors in the ntdsapi.h and activeds.h headers. But this seems to work fine when I used the same headers in the Windows C++ Console Project. I need to make use of Active Directory functions defined in ntdsapi.h and activeds.h headers. Following is the error list: 1>dllmain.cpp 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(924): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(934): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(960): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(971): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(996): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1008): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1036): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1050): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1148): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1159): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1172): error C2065: 'RPC_AUTH_IDENTITY_HANDLE': undeclared identifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1173): error C2146: syntax error: missing ')' before identifier 'AuthIdentity' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1531): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1531): error C2143: syntax error: missing ',' before '*' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1542): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1542): error C2143: syntax error: missing ',' before '*' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1724): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1724): error C2143: syntax error: missing ',' before '*' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1740): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1740): error C2143: syntax error: missing ',' before '*' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1794): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1794): error C2143: syntax error: missing ',' before '*' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1806): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(1806): error C2143: syntax error: missing ',' before '*' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2611): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2611): error C2143: syntax error: missing ',' before '*' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2621): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2621): error C2143: syntax error: missing ',' before '*' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2707): error C3646: 'uuidNamingContextObjGuid': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2707): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2708): error C3646: 'uuidSourceDsaObjGuid': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2708): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2709): error C3646: 'uuidSourceDsaInvocationID': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2709): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2710): error C3646: 'uuidAsyncIntersiteTransportObjGuid': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2710): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2731): error C3646: 'uuidNamingContextObjGuid': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2731): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2732): error C3646: 'uuidSourceDsaObjGuid': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2732): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2733): error C3646: 'uuidSourceDsaInvocationID': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2733): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2734): error C3646: 'uuidAsyncIntersiteTransportObjGuid': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2734): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2757): error C3646: 'uuidSourceDsaInvocationID': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2757): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2762): error C3646: 'uuidSourceDsaInvocationID': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2762): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2768): error C3646: 'uuidSourceDsaInvocationID': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2768): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2776): error C3646: 'uuidSourceDsaInvocationID': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2776): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2818): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2818): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2827): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2827): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2838): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2838): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2866): error C3646: 'uuidDsaObjGuid': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2866): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2875): error C3646: 'uuidDsaObjGuid': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2875): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2912): error C3646: 'uuidNamingContextObjGuid': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2912): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2913): error C3646: 'uuidDsaObjGuid': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2913): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2930): error C3646: 'uuidNamingContextObjGuid': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2930): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2931): error C3646: 'uuidDsaObjGuid': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2931): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2957): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2957): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2975): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2975): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2994): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(2994): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3013): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3013): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3029): error C3646: 'uuidLastOriginatingDsaInvocationID': unknown override specifier 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3029): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3091): error C2061: syntax error: identifier 'UUID' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3103): error C2061: syntax error: identifier 'UUID' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3143): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\ntdsapi.h(3157): error C2061: syntax error: identifier 'RPC_AUTH_IDENTITY_HANDLE' 1>Done building project "AdDll.vcxproj" -- FAILED.
By default, the Dll projects adds this define to the stdafx.h. #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows Remove this line and rebuild. More info about the lean and mean. https://blogs.msdn.microsoft.com/oldnewthing/20091130-00/?p=15863
Compilation errors of a simple C++ project in VS 2012.RC 4
I had a program I could run before upgrading to VS 2012.3 and VS 2012.rc4 (VS ultimate 2012 version 11.0.60930.00 update 4 RC). But It shows some strange errors in some include files after upgrade. Specially, the problem is about the "windows.h" header file. I cannot even compile a simple program, as below. I have also changed the order of include files, but the errors remain. I hope you can help me. EDIT: When I change the platform toolset from v11 to v10, the errors disappear and I can compile them correctly. #include "stdafx.h" #include "windows.h" int _tmain(int argc, _TCHAR* argv[]) { return 0; } Errors: 1>c:\program files (x86)\windows kits\8.0\include\shared\rpcndr.h(48): error C2144: syntax error : 'int' should be preceded by ';' 1>c:\program files (x86)\windows kits\8.0\include\shared\rpcndr.h(48): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(116): error C2146: syntax error : missing ';' before identifier 'OLECHAR' 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(116): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(118): error C2143: syntax error : missing ';' before '*' 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(118): error C2373: 'OLECHAR' : redefinition; different type modifiers 1> c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(114) : see declaration of 'OLECHAR' 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(423): error C2146: syntax error : missing ';' before identifier 'BYTE_BLOB' 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(423): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(431): error C2143: syntax error : missing ';' before '*' 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(431): error C2371: 'WORD_BLOB' : redefinition; different basic types 1> c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(429) : see declaration of 'WORD_BLOB' 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(431): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(439): error C2143: syntax error : missing ';' before '*' 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(439): error C2371: 'DWORD_BLOB' : redefinition; different basic types 1> c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(437) : see declaration of 'DWORD_BLOB' 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(439): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(448): error C2143: syntax error : missing ';' before '*' 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(448): error C2371: 'FLAGGED_BYTE_BLOB' : redefinition; different basic types 1> c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(446) : see declaration of 'FLAGGED_BYTE_BLOB' 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(448): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(457): error C2143: syntax error : missing ';' before '*' 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(457): error C2371: 'FLAGGED_WORD_BLOB' : redefinition; different basic types 1> c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(455) : see declaration of 'FLAGGED_WORD_BLOB' 1>c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(457): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(405): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(405): error C2371: 'userCLIPFORMAT' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(403) : see declaration of 'userCLIPFORMAT' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(405): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(430): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(430): error C2371: 'userHGLOBAL' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(428) : see declaration of 'userHGLOBAL' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(430): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(517): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(517): error C2371: 'RemotableHandle' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(517): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(519): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(519): error C2371: 'RemotableHandle' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(519): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(521): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(521): error C2371: 'RemotableHandle' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(521): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(523): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(523): error C2371: 'RemotableHandle' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(523): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(525): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(525): error C2371: 'RemotableHandle' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(525): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(527): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(527): error C2371: 'RemotableHandle' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(527): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(529): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(529): error C2371: 'RemotableHandle' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(529): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(531): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(531): error C2371: 'RemotableHandle' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(531): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(533): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(533): error C2371: 'RemotableHandle' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(515) : see declaration of 'RemotableHandle' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(533): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(611): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(611): error C2371: 'userHBITMAP' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(494) : see declaration of 'userHBITMAP' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(611): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(613): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(613): error C2371: 'userHPALETTE' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(505) : see declaration of 'userHPALETTE' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(613): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(615): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(615): error C2371: 'userHENHMETAFILE' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(471) : see declaration of 'userHENHMETAFILE' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(615): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(617): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(617): error C2371: 'userHMETAFILE' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(441) : see declaration of 'userHMETAFILE' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(617): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(619): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(619): error C2371: 'userHMETAFILEPICT' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(460) : see declaration of 'userHMETAFILEPICT' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(619): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(733): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(733): error C2371: 'FLAGGED_WORD_BLOB' : redefinition; different basic types 1> c:\program files (x86)\windows kits\8.0\include\shared\wtypesbase.h(455) : see declaration of 'FLAGGED_WORD_BLOB' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(733): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(941): error C2146: syntax error : missing ';' before identifier 'pFileExt' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(941): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(942): error C2146: syntax error : missing ';' before identifier 'pMimeType' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(942): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(943): error C2146: syntax error : missing ';' before identifier 'pProgId' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(943): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(944): error C2146: syntax error : missing ';' before identifier 'pFileName' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(944): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(947): error C2146: syntax error : missing ';' before identifier 'pPackageName' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\shared\wtypes.h(947): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(140): error C2061: syntax error : identifier '__RPC__deref_out' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(309): error C2061: syntax error : identifier '__RPC__deref_out' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(431): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(431): error C2371: 'IClassFactory' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(59) : see declaration of 'IClassFactory' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(431): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(524): error C2065: '__RPC__in' : undeclared identifier 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(524): error C2146: syntax error : missing ')' before identifier 'IClassFactory' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(524): warning C4229: anachronism used : modifiers on data are ignored 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(526): error C2059: syntax error : ')' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(537): error C2065: '__RPC__in' : undeclared identifier 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(537): error C2146: syntax error : missing ')' before identifier 'IClassFactory' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(537): warning C4229: anachronism used : modifiers on data are ignored 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(538): error C2059: syntax error : ')' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(575): error C2065: '__RPC__in' : undeclared identifier 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(575): error C2146: syntax error : missing ')' before identifier 'IClassFactory' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(575): warning C4229: anachronism used : modifiers on data are ignored 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(577): error C2059: syntax error : ')' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(585): error C2065: '__RPC__in' : undeclared identifier 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(585): error C2146: syntax error : missing ')' before identifier 'IClassFactory' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(585): warning C4229: anachronism used : modifiers on data are ignored 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\unknwnbase.h(586): error C2059: syntax error : ')' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1376): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1376): error C2371: 'IMultiQI' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(94) : see declaration of 'IMultiQI' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1376): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1694): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1694): error C2371: 'IEnumUnknown' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(115) : see declaration of 'IEnumUnknown' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1694): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1805): error C2065: '__RPC__in' : undeclared identifier 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1805): error C2146: syntax error : missing ')' before identifier 'IEnumUnknown' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1805): warning C4229: anachronism used : modifiers on data are ignored 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1808): error C2059: syntax error : ')' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1828): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1828): error C2371: 'IEnumString' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(122) : see declaration of 'IEnumString' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1828): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1937): error C2065: '__RPC__in' : undeclared identifier 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1937): error C2146: syntax error : missing ')' before identifier 'IEnumString' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1937): warning C4229: anachronism used : modifiers on data are ignored 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(1940): error C2059: syntax error : ')' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2061): error C2065: '__RPC__in' : undeclared identifier 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2061): error C2146: syntax error : missing ')' before identifier 'ISequentialStream' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2061): warning C4229: anachronism used : modifiers on data are ignored 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2064): error C2059: syntax error : ')' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2075): error C2065: '__RPC__in' : undeclared identifier 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2075): error C2146: syntax error : missing ')' before identifier 'ISequentialStream' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2075): warning C4229: anachronism used : modifiers on data are ignored 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2078): error C2059: syntax error : ')' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2098): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2098): error C2371: 'IStream' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(136) : see declaration of 'IStream' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2098): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2120): error C2146: syntax error : missing ';' before identifier 'pwcsName' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2120): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2361): error C2065: '__RPC__in' : undeclared identifier 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2361): error C2146: syntax error : missing ')' before identifier 'IStream' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2361): warning C4229: anachronism used : modifiers on data are ignored 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2364): error C2059: syntax error : ')' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2375): error C2065: '__RPC__in' : undeclared identifier 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2375): error C2146: syntax error : missing ')' before identifier 'IStream' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2375): warning C4229: anachronism used : modifiers on data are ignored 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(2379): error C2059: syntax error : ')' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(3896): error C2061: syntax error : identifier '__RPC__deref_out_opt' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(3914): error C2061: syntax error : identifier '__RPC__in_opt' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(4072): error C2061: syntax error : identifier '__RPC__deref_out_opt' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(4495): error C2143: syntax error : missing ';' before '*' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(4495): error C2371: 'ISurrogate' : redefinition; different basic types 1> C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(234) : see declaration of 'ISurrogate' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(4495): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(5981): error C2061: syntax error : identifier '__RPC__out_ecount_part' 1>C:\Program Files (x86)\Windows Kits\8.0\Include\um\objidlbase.h(5981): fatal error C1003: error count exceeds 100; stopping compilation ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Visual Studio include files calling error - C++
I'm building one sample from CEGUI, the SDK seems to be fine setle and the futher errors regarding the CEGUI on the log seems to come because of the errors with the includes from MVS. I can't affirm this since I'm not a C++ expert yet...I'm more experienced with Java.. Anyway, I saw a lot of posts talking about those compile errors, even since 2005, but some of them are just threw away, descontinued or the others that has an answer I couldn't fully understand (I supose until now they dont fit on my case...). I can list here some posts I tryed to find an answer: http://www.ogre3d.org/forums/viewtopic.php?p=205194 error C2039: 'find' : is not a member of 'std' error C2039: 'memchr' : is not a member of '`global namespace'' Syntax Errors in standard Microsoft files "iosfwd" & "atlconv.h" while compiling a VS2008 soln? I don't really get whats going wrong on my programm, so I'm seeking for help here cos I've been stuck here for 2 days reading things and trying to solve my own, I don't know what else to do to go futher. Could someone try to explain me what might be wrong with the compilation? 1>------ Build started: Project: Almost giving up, Configuration: Debug Win32 ------ 1> main.cpp 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd(517): error C2039: 'memcmp' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd(517): error C3861: 'memcmp': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd(523): error C2039: 'strlen' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd(523): error C3861: 'strlen': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd(546): error C2039: 'memchr' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd(546): error C3861: 'memchr': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd(559): error C2039: 'memset' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd(559): error C3861: 'memset': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2651): error C2039: 'memset' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2651): error C3861: 'memset': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2656): error C2039: 'memset' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2656): error C3861: 'memset': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2661): error C2039: 'memset' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2661): error C3861: 'memset': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2685): error C2039: 'memset' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2685): error C3861: 'memset': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2692): error C2039: 'memset' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2692): error C3861: 'memset': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2699): error C2039: 'memset' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2699): error C3861: 'memset': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2964): error C2039: 'memcmp' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2964): error C3861: 'memcmp': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2970): error C2039: 'memcmp' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2970): error C3861: 'memcmp': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2976): error C2039: 'memcmp' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(2976): error C3861: 'memcmp': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(3125): error C2039: 'memcmp' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(3125): error C3861: 'memcmp': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(3193): error C2039: 'memchr' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(3193): error C3861: 'memchr': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(3200): error C2039: 'memchr' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(3200): error C3861: 'memchr': identifier not found 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(3208): error C2039: 'memchr' : is not a member of '`global namespace'' 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(3208): error C3861: 'memchr': identifier not found 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(44): error C2146: syntax error : missing ';' before identifier 'utf8' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(44): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(46): error C2146: syntax error : missing ';' before identifier 'utf32' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(46): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(51): error C2146: syntax error : missing ';' before identifier 'encoded_char' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(51): error C2378: 'CEGUI::utf8' : redefinition; symbol cannot be overloaded with a typedef 1> c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(44) : see declaration of 'CEGUI::utf8' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(64): error C2504: 'AllocatedObject' : base class undefined 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(64): error C2143: syntax error : missing ',' before '<' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(70): error C2146: syntax error : missing ';' before identifier 'value_type' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(70): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(87): error C2143: syntax error : missing ';' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(87): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(471): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(471): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(503): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(503): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(503): error C2535: 'CEGUI::String::String(const int)' : member function already defined or declared 1> c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(471) : see declaration of 'CEGUI::String::String' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(862): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(862): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(897): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(897): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(935): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(935): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(936): error C2535: 'int CEGUI::String::compare(CEGUI::String::size_type,CEGUI::String::size_type,const int) const' : member function already defined or declared 1> c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(897) : see declaration of 'CEGUI::String::compare' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1082): error C2143: syntax error : missing ';' before '[' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1082): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1083): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1162): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1162): error C2143: syntax error : missing ';' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1163): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1165): warning C4183: 'data': missing return type; assumed to be a member function returning 'int' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1207): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1207): error C2061: syntax error : identifier 'utf8' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1381): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1381): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1381): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1404): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1404): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1404): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1430): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1430): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1430): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1431): error C2535: 'CEGUI::String &CEGUI::String::assign(const int)' : member function already defined or declared 1> c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1404) : see declaration of 'CEGUI::String::assign' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1454): error C2535: 'CEGUI::String &CEGUI::String::operator =(const int)' : member function already defined or declared 1> c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1381) : see declaration of 'CEGUI::String::operator =' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1728): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1728): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1728): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1751): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1751): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1751): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1778): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1778): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1778): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1779): error C2535: 'CEGUI::String &CEGUI::String::append(const int)' : member function already defined or declared 1> c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1751) : see declaration of 'CEGUI::String::append' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1807): error C2535: 'CEGUI::String &CEGUI::String::operator +=(const int)' : member function already defined or declared 1> c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(1728) : see declaration of 'CEGUI::String::operator +=' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2115): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2115): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2145): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2145): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2146): error C2535: 'CEGUI::String &CEGUI::String::insert(CEGUI::String::size_type,const int)' : member function already defined or declared 1> c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2115) : see declaration of 'CEGUI::String::insert' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2747): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2747): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2779): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2779): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2812): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2812): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2813): error C2535: 'CEGUI::String &CEGUI::String::replace(CEGUI::String::size_type,CEGUI::String::size_type,const int)' : member function already defined or declared 1> c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2747) : see declaration of 'CEGUI::String::replace' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2867): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2867): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2868): error C2535: 'CEGUI::String &CEGUI::String::replace(CEGUI::String::iterator,CEGUI::String::iterator,const int)' : member function already defined or declared 1> c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(2779) : see declaration of 'CEGUI::String::replace' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3388): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3388): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3388): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3415): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3415): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3415): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3445): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3445): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3445): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3446): error C2535: 'CEGUI::String::size_type CEGUI::String::find(const int) const' : member function already defined or declared 1> c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3388) : see declaration of 'CEGUI::String::find' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3496): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3496): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3496): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3497): error C2535: 'CEGUI::String::size_type CEGUI::String::rfind(const int) const' : member function already defined or declared 1> c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3415) : see declaration of 'CEGUI::String::rfind' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3820): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3820): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3820): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3847): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3847): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3847): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3877): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3877): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3877): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3878): error C2535: 'CEGUI::String::size_type CEGUI::String::find_first_of(const int) const' : member function already defined or declared 1> c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3820) : see declaration of 'CEGUI::String::find_first_of' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3925): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3925): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3925): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3926): error C2535: 'CEGUI::String::size_type CEGUI::String::find_first_not_of(const int) const' : member function already defined or declared 1> c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(3847) : see declaration of 'CEGUI::String::find_first_not_of' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(4302): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(4302): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(4302): error C2143: syntax error : missing ',' before '*' 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(4329): error C2327: 'CEGUI::String::utf8' : is not a type name, static, or enumerator 1>c:\program files (x86)\cegui\cegui-0.8.2\cegui\include\cegui\string.h(4329): fatal error C1003: error count exceeds 100; stopping compilation ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skippe d ========== Code: #include <RendererModules\Ogre\Renderer.h> int main(){ // Bootstrap CEGUI::System with an OgreRenderer object that uses the // default Ogre rendering window as the default output surface, an Ogre based // ResourceProvider, and an Ogre based ImageCodec. CEGUI::OgreRenderer& myRenderer = CEGUI::OgreRenderer::bootstrapSystem(); } The code comes from http://www.cegui.org.uk/docs/current/rendering_tutorial.html ; Even that doesnt say anything about include xutility or iosfwd I already tryed to do but the error is the same, I also tryed to open the files from VS but since I'm not an expert I couldnt fully understand to check for any errors, which I can't believe thats wrong since its a default file..
I know this is an old post but I figured I would answer it. If you include cegui-0.8.7\cegui\include\CEGUI in your MSVC include directories then it will suck up the String.h file in there and then will use THAT definition EVERYWHERE. Thus you start seeing things like xutility and iosfwd show up in the tainting. Instead you must include ...\cegui-0.8.7\cegui\include so that it is scoped with CEGUI and does not confuse your entire build system. Hope this helps someone!