Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/libopenni2-dev.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1790233386.357163/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/libopenni2-dev.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/libopenni2-dev-2.2.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/libopenni2-dev.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1790233386.357163/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/libopenni2-dev.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/libopenni2-dev-2.2.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/libopenni2-dev.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1790233386.357163/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/libopenni2-dev.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gZTOw8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libopenni2-dev-2.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libopenni2-dev-2.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libopenni2-dev-2.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/aarch64-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2BspSQ + umask 022 + cd /builddir/build/BUILD + cd libopenni2-dev-2.2.0 + export ALLOW_WARNINGS=1 + ALLOW_WARNINGS=1 + make -j4 ThirdParty/PSCommon/XnLib/Source make -C ThirdParty/PSCommon/XnLib/Source make[1]: Entering directory '/builddir/build/BUILD/libopenni2-dev-2.2.0/ThirdParty/PSCommon/XnLib/Source' mkdir -p ../Bin/Intermediate/Arm64-Release/libXnLib.a mkdir -p ../Bin/Arm64-Release g++ -MD -MP -MT "./../Bin/Intermediate/Arm64-Release/libXnLib.a/XnDump.d ../Bin/Intermediate/Arm64-Release/libXnLib.a/XnDump.o" -c -std=gnu++14 -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Arm64-Release/libXnLib.a/XnDump.o XnDump.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Arm64-Release/libXnLib.a/XnDumpFileWriter.d ../Bin/Intermediate/Arm64-Release/libXnLib.a/XnDumpFileWriter.o" -c -std=gnu++14 -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Arm64-Release/libXnLib.a/XnDumpFileWriter.o XnDumpFileWriter.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Arm64-Release/libXnLib.a/XnErrorLogger.d ../Bin/Intermediate/Arm64-Release/libXnLib.a/XnErrorLogger.o" -c -std=gnu++14 -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Arm64-Release/libXnLib.a/XnErrorLogger.o XnErrorLogger.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Arm64-Release/libXnLib.a/XnFPSCalculator.d ../Bin/Intermediate/Arm64-Release/libXnLib.a/XnFPSCalculator.o" -c -std=gnu++14 -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Arm64-Release/libXnLib.a/XnFPSCalculator.o XnFPSCalculator.cpp In file included from ../Include/XnFPSCalculator.h:27, from XnFPSCalculator.cpp:24: ../Include/XnPlatform.h:61:2: error: #error Xiron Platform Abstraction Layer - Unsupported Platform! 61 | #error Xiron Platform Abstraction Layer - Unsupported Platform! | ^~~~~ In file included from ../Include/XnDump.h:27, from XnDump.cpp:24: ../Include/XnPlatform.h:61:2: error: #error Xiron Platform Abstraction Layer - Unsupported Platform! 61 | #error Xiron Platform Abstraction Layer - Unsupported Platform! | ^~~~~ In file included from ../Include/XnLib.h:24, from ../Include/XnErrorLogger.h:24, from XnErrorLogger.cpp:21: ../Include/XnPlatform.h:61:2: error: #error Xiron Platform Abstraction Layer - Unsupported Platform! 61 | #error Xiron Platform Abstraction Layer - Unsupported Platform! | ^~~~~ In file included from ../Include/XnDump.h:27, from ../Include/XnDumpWriters.h:27, from XnDumpFileWriter.h:27, from XnDumpFileWriter.cpp:24: ../Include/XnPlatform.h:61:2: error: #error Xiron Platform Abstraction Layer - Unsupported Platform! 61 | #error Xiron Platform Abstraction Layer - Unsupported Platform! | ^~~~~ ../Include/XnDump.h:143:10: error: #error Xiron Log - Unknown VAARGS type! 143 | #error Xiron Log - Unknown VAARGS type! | ^~~~~ ../Include/XnDump.h:143:10: error: #error Xiron Log - Unknown VAARGS type! 143 | #error Xiron Log - Unknown VAARGS type! | ^~~~~ In file included from ../Include/XnLib.h:28: ../Include/XnOS.h:53:10: error: #error OpenNI OS Abstraction Layer - Unsupported Platform! 53 | #error OpenNI OS Abstraction Layer - Unsupported Platform! | ^~~~~ In file included from XnFPSCalculator.cpp:25: ../Include/XnOS.h:53:10: error: #error OpenNI OS Abstraction Layer - Unsupported Platform! 53 | #error OpenNI OS Abstraction Layer - Unsupported Platform! | ^~~~~ In file included from ../Include/XnDump.h:153: ../Include/XnOS.h:53:10: error: #error OpenNI OS Abstraction Layer - Unsupported Platform! 53 | #error OpenNI OS Abstraction Layer - Unsupported Platform! | ^~~~~ In file included from ../Include/XnDump.h:153: ../Include/XnOS.h:53:10: error: #error OpenNI OS Abstraction Layer - Unsupported Platform! 53 | #error OpenNI OS Abstraction Layer - Unsupported Platform! | ^~~~~ ../Include/XnDump.h:196:10: error: #error Xiron Log - Unknown VAARGS type! 196 | #error Xiron Log - Unknown VAARGS type! | ^~~~~ ../Include/XnDump.h:196:10: error: #error Xiron Log - Unknown VAARGS type! 196 | #error Xiron Log - Unknown VAARGS type! | ^~~~~ In file included from ../Include/XnErrorLogger.h:25: ../Include/XnHash.h:283:58: error: macro "XN_NEW" requires 2 arguments, but only 1 given 283 | m_apBins[hash] = XN_NEW(TPairList); | ^ ../Include/XnOS.h:323: note: macro "XN_NEW" defined here 323 | #define XN_NEW(type, arg) new type(arg) | In file included from XnDumpFileWriter.cpp:25: ../Include/XnLog.h:373:10: error: #error Xiron Log - Unknown VAARGS type! 373 | #error Xiron Log - Unknown VAARGS type! | ^~~~~ ../Include/XnLog.h:536:10: error: #error Xiron Log - Unknown VAARGS type! 536 | #error Xiron Log - Unknown VAARGS type! | ^~~~~ ../Include/XnPlatform.h:68:9: error: 'XnChar' does not name a type; did you mean 'char'? 68 | XnChar csOSName[XN_MAX_OS_NAME_LENGTH]; | ^~~~~~ | char In file included from ../Include/XnStringsHash.h:27, from XnDump.cpp:26: ../Include/XnHash.h:283:58: error: macro "XN_NEW" requires 2 arguments, but only 1 given 283 | m_apBins[hash] = XN_NEW(TPairList); | ^ ../Include/XnOS.h:323: note: macro "XN_NEW" defined here 323 | #define XN_NEW(type, arg) new type(arg) | ../Include/XnPlatform.h:68:9: error: 'XnChar' does not name a type; did you mean 'char'? 68 | XnChar csOSName[XN_MAX_OS_NAME_LENGTH]; | ^~~~~~ | char ../Include/XnPlatform.h:69:9: error: 'XnChar' does not name a type; did you mean 'char'? 69 | XnChar csCPUName[XN_MAX_OS_NAME_LENGTH]; | ^~~~~~ | char ../Include/XnPlatform.h:68:9: error: 'XnChar' does not name a type; did you mean 'char'? 68 | XnChar csOSName[XN_MAX_OS_NAME_LENGTH]; | ^~~~~~ | char In file included from XnDump.cpp:28: ../Include/XnLog.h:373:10: error: #error Xiron Log - Unknown VAARGS type! 373 | #error Xiron Log - Unknown VAARGS type! | ^~~~~ ../Include/XnPlatform.h:69:9: error: 'XnChar' does not name a type; did you mean 'char'? 69 | XnChar csCPUName[XN_MAX_OS_NAME_LENGTH]; | ^~~~~~ | char ../Include/XnLog.h:536:10: error: #error Xiron Log - Unknown VAARGS type! 536 | #error Xiron Log - Unknown VAARGS type! | ^~~~~ ../Include/XnPlatform.h:69:9: error: 'XnChar' does not name a type; did you mean 'char'? 69 | XnChar csCPUName[XN_MAX_OS_NAME_LENGTH]; | ^~~~~~ | char ../Include/XnPlatform.h:70:9: error: 'XnUInt32' does not name a type 70 | XnUInt32 nProcessorsCount; | ^~~~~~~~ ../Include/XnPlatform.h:70:9: error: 'XnUInt32' does not name a type 70 | XnUInt32 nProcessorsCount; | ^~~~~~~~ ../Include/XnPlatform.h:71:9: error: 'XnUInt64' does not name a type 71 | XnUInt64 nTotalMemory; | ^~~~~~~~ XnDump.cpp:51:62: error: macro "XN_NEW" requires 2 arguments, but only 1 given 51 | static DumpData* pSingleton = XN_NEW(DumpData); | ^ ../Include/XnPlatform.h:71:9: error: 'XnUInt64' does not name a type 71 | XnUInt64 nTotalMemory; | ^~~~~~~~ ../Include/XnOS.h:323: note: macro "XN_NEW" defined here 323 | #define XN_NEW(type, arg) new type(arg) | XnDump.cpp:177:46: error: macro "XN_NEW" requires 2 arguments, but only 1 given 177 | XnDumpFile* pFile = XN_NEW(XnDumpFile); | ^ ../Include/XnOS.h:323: note: macro "XN_NEW" defined here 323 | #define XN_NEW(type, arg) new type(arg) | In file included from ../Include/XnLib.h:26: ../Include/XnStatus.h:39:16: error: 'XnChar' does not name a type; did you mean 'char'? 39 | XN_C_API const XnChar* XN_C_DECL xnGetStatusString(XnStatus status); | ^~~~~~ | char In file included from ../Include/XnDump.h:28: ../Include/XnStatus.h:39:16: error: 'XnChar' does not name a type; did you mean 'char'? 39 | XN_C_API const XnChar* XN_C_DECL xnGetStatusString(XnStatus status); | ^~~~~~ | char ../Include/XnStatus.h:48:16: error: 'XnChar' does not name a type; did you mean 'char'? 48 | XN_C_API const XnChar* XN_C_DECL xnGetStatusName(XnStatus status); | ^~~~~~ | char ../Include/XnStatus.h:57:25: error: expected initializer before 'xnPrintError' 57 | XN_C_API void XN_C_DECL xnPrintError(XnStatus status, const XnChar* csUserMessage); | ^~~~~~~~~~~~ ../Include/XnStatus.h:48:16: error: 'XnChar' does not name a type; did you mean 'char'? 48 | XN_C_API const XnChar* XN_C_DECL xnGetStatusName(XnStatus status); | ^~~~~~ | char ../Include/XnStatus.h:57:25: error: expected initializer before 'xnPrintError' 57 | XN_C_API void XN_C_DECL xnPrintError(XnStatus status, const XnChar* csUserMessage); | ^~~~~~~~~~~~ ../Include/XnDump.h:46:29: error: expected initializer before 'xnDumpSetMaskState' 46 | XN_C_API XnStatus XN_C_DECL xnDumpSetMaskState(const XnChar* strMask, XnBool bEnabled); | ^~~~~~~~~~~~~~~~~~ ../Include/XnPlatform.h:68:9: error: 'XnChar' does not name a type; did you mean 'char'? 68 | XnChar csOSName[XN_MAX_OS_NAME_LENGTH]; | ^~~~~~ | char ../Include/XnDump.h:53:10: error: 'XnBool' does not name a type; did you mean 'bool'? 53 | XN_C_API XnBool XN_C_DECL xnLogIsDumpMaskEnabled(const XnChar* strDumpMask); | ^~~~~~ | bool ../Include/XnDump.h:63:32: error: expected initializer before 'xnDumpFileOpen' 63 | XN_C_API XnDumpFile* XN_C_DECL xnDumpFileOpen(const XnChar* strDumpName, const XnChar* strNameFormat, ...); | ^~~~~~~~~~~~~~ ../Include/XnDump.h:77:32: error: expected initializer before 'xnDumpFileOpenEx' 77 | XN_C_API XnDumpFile* XN_C_DECL xnDumpFileOpenEx(const XnChar* strDumpName, XnBool bForce, XnBool bSessionDump, const XnChar* strNameFormat, ...); | ^~~~~~~~~~~~~~~~ ../Include/XnDump.h:86:25: error: expected initializer before '_xnDumpFileWriteBuffer' 86 | XN_C_API void XN_C_DECL _xnDumpFileWriteBuffer(XnDumpFile* pFile, const void* pBuffer, XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnDump.h:96:25: error: expected initializer before '_xnDumpFileWriteString' 96 | XN_C_API void XN_C_DECL _xnDumpFileWriteString(XnDumpFile* pFile, const XnChar* strFormat, ...); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnDump.h:103:25: error: expected initializer before '_xnDumpFileClose' 103 | XN_C_API void XN_C_DECL _xnDumpFileClose(XnDumpFile* pFile); | ^~~~~~~~~~~~~~~~ In file included from ../Include/XnOS.h:30: ../Include/XnOSStrings.h:28:29: error: expected initializer before 'xnOSStrPrefix' 28 | XN_C_API XnStatus XN_C_DECL xnOSStrPrefix(const XnChar* cpPrefixString, XnChar* cpDestString, const XnUInt32 nDestLength); | ^~~~~~~~~~~~~ ../Include/XnOSStrings.h:29:29: error: expected initializer before 'xnOSStrAppend' 29 | XN_C_API XnStatus XN_C_DECL xnOSStrAppend(XnChar* cpDestString, const XnChar* cpSrcString, const XnUInt32 nDestLength); | ^~~~~~~~~~~~~ ../Include/XnOSStrings.h:30:29: error: expected initializer before 'xnOSStrCopy' 30 | XN_C_API XnStatus XN_C_DECL xnOSStrCopy(XnChar* cpDestString, const XnChar* cpSrcString, const XnUInt32 nDestLength); | ^~~~~~~~~~~ ../Include/XnPlatform.h:69:9: error: 'XnChar' does not name a type; did you mean 'char'? 69 | XnChar csCPUName[XN_MAX_OS_NAME_LENGTH]; | ^~~~~~ | char ../Include/XnOSStrings.h:31:10: error: 'XnUInt32' does not name a type 31 | XN_C_API XnUInt32 XN_C_DECL xnOSStrLen(const XnChar* cpStr); | ^~~~~~~~ ../Include/XnOSStrings.h:32:29: error: expected initializer before 'xnOSStrNCopy' 32 | XN_C_API XnStatus XN_C_DECL xnOSStrNCopy(XnChar* cpDestString, const XnChar* cpSrcString, const XnUInt32 nCopyLength, const XnUInt32 nDestLength); | ^~~~~~~~~~~~ ../Include/XnOSStrings.h:33:29: error: expected initializer before 'xnOSStrCRC32' 33 | XN_C_API XnStatus XN_C_DECL xnOSStrCRC32(const XnChar* cpString, XnUInt32* nCRC32); | ^~~~~~~~~~~~ In file included from ../Include/XnOS.h:30: ../Include/XnOSStrings.h:28:29: error: expected initializer before 'xnOSStrPrefix' 28 | XN_C_API XnStatus XN_C_DECL xnOSStrPrefix(const XnChar* cpPrefixString, XnChar* cpDestString, const XnUInt32 nDestLength); | ^~~~~~~~~~~~~ ../Include/XnOSStrings.h:34:29: error: expected initializer before 'xnOSStrNCRC32' 34 | XN_C_API XnStatus XN_C_DECL xnOSStrNCRC32(XnUChar* cpBuffer, XnUInt32 nBufferSize, XnUInt32* nCRC32); | ^~~~~~~~~~~~~ ../Include/XnOSStrings.h:29:29: error: expected initializer before 'xnOSStrAppend' 29 | XN_C_API XnStatus XN_C_DECL xnOSStrAppend(XnChar* cpDestString, const XnChar* cpSrcString, const XnUInt32 nDestLength); | ^~~~~~~~~~~~~ ../Include/XnOSStrings.h:35:29: error: expected initializer before 'xnOSStrFormat' 35 | XN_C_API XnStatus XN_C_DECL xnOSStrFormat(XnChar* cpDestString, const XnUInt32 nDestLength, XnUInt32* pnCharsWritten, const XnChar* cpFormat, ...); | ^~~~~~~~~~~~~ ../Include/XnPlatform.h:70:9: error: 'XnUInt32' does not name a type 70 | XnUInt32 nProcessorsCount; | ^~~~~~~~ ../Include/XnOSStrings.h:36:29: error: expected initializer before 'xnOSStrFormatV' 36 | XN_C_API XnStatus XN_C_DECL xnOSStrFormatV(XnChar* cpDestString, const XnUInt32 nDestLength, XnUInt32* pnCharsWritten, const XnChar* cpFormat, va_list args); | ^~~~~~~~~~~~~~ ../Include/XnOSStrings.h:30:29: error: expected initializer before 'xnOSStrCopy' 30 | XN_C_API XnStatus XN_C_DECL xnOSStrCopy(XnChar* cpDestString, const XnChar* cpSrcString, const XnUInt32 nDestLength); | ^~~~~~~~~~~ ../Include/XnOSStrings.h:37:10: error: 'XnInt32' does not name a type 37 | XN_C_API XnInt32 XN_C_DECL xnOSStrCmp(const XnChar* cpFirstString, const XnChar* cpSecondString); | ^~~~~~~ ../Include/XnOSStrings.h:31:10: error: 'XnUInt32' does not name a type 31 | XN_C_API XnUInt32 XN_C_DECL xnOSStrLen(const XnChar* cpStr); | ^~~~~~~~ ../Include/XnPlatform.h:71:9: error: 'XnUInt64' does not name a type 71 | XnUInt64 nTotalMemory; | ^~~~~~~~ ../Include/XnOSStrings.h:32:29: error: expected initializer before 'xnOSStrNCopy' 32 | XN_C_API XnStatus XN_C_DECL xnOSStrNCopy(XnChar* cpDestString, const XnChar* cpSrcString, const XnUInt32 nCopyLength, const XnUInt32 nDestLength); | ^~~~~~~~~~~~ ../Include/XnOSStrings.h:33:29: error: expected initializer before 'xnOSStrCRC32' 33 | XN_C_API XnStatus XN_C_DECL xnOSStrCRC32(const XnChar* cpString, XnUInt32* nCRC32); | ^~~~~~~~~~~~ ../Include/XnOSStrings.h:34:29: error: expected initializer before 'xnOSStrNCRC32' 34 | XN_C_API XnStatus XN_C_DECL xnOSStrNCRC32(XnUChar* cpBuffer, XnUInt32 nBufferSize, XnUInt32* nCRC32); | ^~~~~~~~~~~~~ ../Include/XnOSStrings.h:35:29: error: expected initializer before 'xnOSStrFormat' 35 | XN_C_API XnStatus XN_C_DECL xnOSStrFormat(XnChar* cpDestString, const XnUInt32 nDestLength, XnUInt32* pnCharsWritten, const XnChar* cpFormat, ...); | ^~~~~~~~~~~~~ ../Include/XnOSStrings.h:36:29: error: expected initializer before 'xnOSStrFormatV' 36 | XN_C_API XnStatus XN_C_DECL xnOSStrFormatV(XnChar* cpDestString, const XnUInt32 nDestLength, XnUInt32* pnCharsWritten, const XnChar* cpFormat, va_list args); | ^~~~~~~~~~~~~~ ../Include/XnOSStrings.h:38:10: error: 'XnInt32' does not name a type 38 | XN_C_API XnInt32 XN_C_DECL xnOSStrCaseCmp(const XnChar* cpFirstString, const XnChar* cpSecondString); | ^~~~~~~ ../Include/XnOSStrings.h:39:29: error: expected initializer before 'xnOSItoA' 39 | XN_C_API void XN_C_DECL xnOSItoA(XnInt32 nValue, XnChar* cpStr, XnInt32 nBase); | ^~~~~~~~ ../Include/XnOSStrings.h:37:10: error: 'XnInt32' does not name a type 37 | XN_C_API XnInt32 XN_C_DECL xnOSStrCmp(const XnChar* cpFirstString, const XnChar* cpSecondString); | ^~~~~~~ In file included from ../Include/XnDump.h:28: ../Include/XnStatus.h:39:16: error: 'XnChar' does not name a type; did you mean 'char'? 39 | XN_C_API const XnChar* XN_C_DECL xnGetStatusString(XnStatus status); | ^~~~~~ | char ../Include/XnOSStrings.h:41:10: error: 'XnChar' does not name a type; did you mean 'char'? 41 | XN_C_API XnChar* XN_C_DECL xnOSStrDup(const XnChar* strSource); | ^~~~~~ | char ../Include/XnOSStrings.h:42:29: error: expected initializer before 'xnOSGetEnvironmentVariable' 42 | XN_C_API XnStatus XN_C_DECL xnOSGetEnvironmentVariable(const XnChar* strEnv, XnChar* strDest, XnUInt32 nDestSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOSStrings.h:43:29: error: expected initializer before 'xnOSExpandEnvironmentStrings' 43 | XN_C_API XnStatus XN_C_DECL xnOSExpandEnvironmentStrings(const XnChar* strSrc, XnChar* strDest, XnUInt32 nDestSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../Include/XnOS.h:31: ../Include/XnMemory.h:28:26: error: expected initializer before 'xnOSMalloc' 28 | XN_C_API void* XN_C_DECL xnOSMalloc(const XnSizeT nAllocSize); | ^~~~~~~~~~ ../Include/XnMemory.h:29:26: error: expected initializer before 'xnOSMallocAligned' 29 | XN_C_API void* XN_C_DECL xnOSMallocAligned(const XnSizeT nAllocSize, const XnSizeT nAlignment); | ^~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:30:26: error: expected initializer before 'xnOSCalloc' 30 | XN_C_API void* XN_C_DECL xnOSCalloc(const XnSizeT nAllocNum, const XnSizeT nAllocSize); | ^~~~~~~~~~ ../Include/XnMemory.h:31:26: error: expected initializer before 'xnOSCallocAligned' 31 | XN_C_API void* XN_C_DECL xnOSCallocAligned(const XnSizeT nAllocNum, const XnSizeT nAllocSize, const XnSizeT nAlignment); | ^~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:32:26: error: expected initializer before 'xnOSRealloc' 32 | XN_C_API void* XN_C_DECL xnOSRealloc(void* pMemory, const XnSizeT nAllocSize); | ^~~~~~~~~~~ ../Include/XnOSStrings.h:38:10: error: 'XnInt32' does not name a type 38 | XN_C_API XnInt32 XN_C_DECL xnOSStrCaseCmp(const XnChar* cpFirstString, const XnChar* cpSecondString); | ^~~~~~~ ../Include/XnStatus.h:48:16: error: 'XnChar' does not name a type; did you mean 'char'? 48 | XN_C_API const XnChar* XN_C_DECL xnGetStatusName(XnStatus status); | ^~~~~~ | char ../Include/XnMemory.h:33:26: error: expected initializer before 'xnOSReallocAligned' 33 | XN_C_API void* XN_C_DECL xnOSReallocAligned(void* pMemory, const XnSizeT nAllocSize, const XnSizeT nAlignment); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOSStrings.h:39:29: error: expected initializer before 'xnOSItoA' 39 | XN_C_API void XN_C_DECL xnOSItoA(XnInt32 nValue, XnChar* cpStr, XnInt32 nBase); | ^~~~~~~~ ../Include/XnMemory.h:34:26: error: expected initializer before 'xnOSRecalloc' 34 | XN_C_API void* XN_C_DECL xnOSRecalloc(void* pMemory, const XnSizeT nAllocNum, const XnSizeT nAllocSize); | ^~~~~~~~~~~~ ../Include/XnStatus.h:57:25: error: expected initializer before 'xnPrintError' 57 | XN_C_API void XN_C_DECL xnPrintError(XnStatus status, const XnChar* csUserMessage); | ^~~~~~~~~~~~ ../Include/XnMemory.h:35:25: error: expected initializer before 'xnOSFree' 35 | XN_C_API void XN_C_DECL xnOSFree(const void* pMemBlock); | ^~~~~~~~ ../Include/XnMemory.h:36:25: error: expected initializer before 'xnOSFreeAligned' 36 | XN_C_API void XN_C_DECL xnOSFreeAligned(const void* pMemBlock); | ^~~~~~~~~~~~~~~ ../Include/XnMemory.h:37:25: error: expected initializer before 'xnOSMemCopy' 37 | XN_C_API void XN_C_DECL xnOSMemCopy(void* pDest, const void* pSource, XnSizeT nCount); | ^~~~~~~~~~~ ../Include/XnDump.h:46:29: error: expected initializer before 'xnDumpSetMaskState' 46 | XN_C_API XnStatus XN_C_DECL xnDumpSetMaskState(const XnChar* strMask, XnBool bEnabled); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOSStrings.h:41:10: error: 'XnChar' does not name a type; did you mean 'char'? 41 | XN_C_API XnChar* XN_C_DECL xnOSStrDup(const XnChar* strSource); | ^~~~~~ | char ../Include/XnOSStrings.h:42:29: error: expected initializer before 'xnOSGetEnvironmentVariable' 42 | XN_C_API XnStatus XN_C_DECL xnOSGetEnvironmentVariable(const XnChar* strEnv, XnChar* strDest, XnUInt32 nDestSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:38:10: error: 'XnInt32' does not name a type 38 | XN_C_API XnInt32 XN_C_DECL xnOSMemCmp(const void *pBuf1, const void *pBuf2, XnSizeT nCount); | ^~~~~~~ ../Include/XnOSStrings.h:43:29: error: expected initializer before 'xnOSExpandEnvironmentStrings' 43 | XN_C_API XnStatus XN_C_DECL xnOSExpandEnvironmentStrings(const XnChar* strSrc, XnChar* strDest, XnUInt32 nDestSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:39:25: error: expected initializer before 'xnOSMemSet' 39 | XN_C_API void XN_C_DECL xnOSMemSet(void* pDest, XnUInt8 nValue, XnSizeT nCount); | ^~~~~~~~~~ ../Include/XnMemory.h:40:25: error: expected initializer before 'xnOSMemMove' 40 | XN_C_API void XN_C_DECL xnOSMemMove(void* pDest, const void* pSource, XnSizeT nCount); | ^~~~~~~~~~~ In file included from ../Include/XnOS.h:31: ../Include/XnMemory.h:28:26: error: expected initializer before 'xnOSMalloc' 28 | XN_C_API void* XN_C_DECL xnOSMalloc(const XnSizeT nAllocSize); | ^~~~~~~~~~ ../Include/XnMemory.h:29:26: error: expected initializer before 'xnOSMallocAligned' 29 | XN_C_API void* XN_C_DECL xnOSMallocAligned(const XnSizeT nAllocSize, const XnSizeT nAlignment); | ^~~~~~~~~~~~~~~~~ ../Include/XnDump.h:53:10: error: 'XnBool' does not name a type; did you mean 'bool'? 53 | XN_C_API XnBool XN_C_DECL xnLogIsDumpMaskEnabled(const XnChar* strDumpMask); | ^~~~~~ | bool ../Include/XnMemory.h:30:26: error: expected initializer before 'xnOSCalloc' 30 | XN_C_API void* XN_C_DECL xnOSCalloc(const XnSizeT nAllocNum, const XnSizeT nAllocSize); | ^~~~~~~~~~ ../Include/XnMemory.h:31:26: error: expected initializer before 'xnOSCallocAligned' 31 | XN_C_API void* XN_C_DECL xnOSCallocAligned(const XnSizeT nAllocNum, const XnSizeT nAllocSize, const XnSizeT nAlignment); | ^~~~~~~~~~~~~~~~~ ../Include/XnDump.h:63:32: error: expected initializer before 'xnDumpFileOpen' 63 | XN_C_API XnDumpFile* XN_C_DECL xnDumpFileOpen(const XnChar* strDumpName, const XnChar* strNameFormat, ...); | ^~~~~~~~~~~~~~ ../Include/XnMemory.h:32:26: error: expected initializer before 'xnOSRealloc' 32 | XN_C_API void* XN_C_DECL xnOSRealloc(void* pMemory, const XnSizeT nAllocSize); | ^~~~~~~~~~~ ../Include/XnMemory.h:33:26: error: expected initializer before 'xnOSReallocAligned' 33 | XN_C_API void* XN_C_DECL xnOSReallocAligned(void* pMemory, const XnSizeT nAllocSize, const XnSizeT nAlignment); | ^~~~~~~~~~~~~~~~~~ ../Include/XnDump.h:77:32: error: expected initializer before 'xnDumpFileOpenEx' 77 | XN_C_API XnDumpFile* XN_C_DECL xnDumpFileOpenEx(const XnChar* strDumpName, XnBool bForce, XnBool bSessionDump, const XnChar* strNameFormat, ...); | ^~~~~~~~~~~~~~~~ ../Include/XnMemory.h:34:26: error: expected initializer before 'xnOSRecalloc' 34 | XN_C_API void* XN_C_DECL xnOSRecalloc(void* pMemory, const XnSizeT nAllocNum, const XnSizeT nAllocSize); | ^~~~~~~~~~~~ ../Include/XnPlatform.h:70:9: error: 'XnUInt32' does not name a type 70 | XnUInt32 nProcessorsCount; | ^~~~~~~~ ../Include/XnDump.h:86:25: error: expected initializer before '_xnDumpFileWriteBuffer' 86 | XN_C_API void XN_C_DECL _xnDumpFileWriteBuffer(XnDumpFile* pFile, const void* pBuffer, XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:35:25: error: expected initializer before 'xnOSFree' 35 | XN_C_API void XN_C_DECL xnOSFree(const void* pMemBlock); | ^~~~~~~~ ../Include/XnDump.h:96:25: error: expected initializer before '_xnDumpFileWriteString' 96 | XN_C_API void XN_C_DECL _xnDumpFileWriteString(XnDumpFile* pFile, const XnChar* strFormat, ...); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:36:25: error: expected initializer before 'xnOSFreeAligned' 36 | XN_C_API void XN_C_DECL xnOSFreeAligned(const void* pMemBlock); | ^~~~~~~~~~~~~~~ ../Include/XnDump.h:103:25: error: expected initializer before '_xnDumpFileClose' 103 | XN_C_API void XN_C_DECL _xnDumpFileClose(XnDumpFile* pFile); | ^~~~~~~~~~~~~~~~ ../Include/XnMemory.h:37:25: error: expected initializer before 'xnOSMemCopy' 37 | XN_C_API void XN_C_DECL xnOSMemCopy(void* pDest, const void* pSource, XnSizeT nCount); | ^~~~~~~~~~~ ../Include/XnMemory.h:41:10: error: 'XnUInt64' does not name a type 41 | XN_C_API XnUInt64 XN_C_DECL xnOSEndianSwapUINT64(XnUInt64 nValue); | ^~~~~~~~ ../Include/XnMemory.h:38:10: error: 'XnInt32' does not name a type 38 | XN_C_API XnInt32 XN_C_DECL xnOSMemCmp(const void *pBuf1, const void *pBuf2, XnSizeT nCount); | ^~~~~~~ ../Include/XnMemory.h:39:25: error: expected initializer before 'xnOSMemSet' 39 | XN_C_API void XN_C_DECL xnOSMemSet(void* pDest, XnUInt8 nValue, XnSizeT nCount); | ^~~~~~~~~~ ../Include/XnMemory.h:40:25: error: expected initializer before 'xnOSMemMove' 40 | XN_C_API void XN_C_DECL xnOSMemMove(void* pDest, const void* pSource, XnSizeT nCount); | ^~~~~~~~~~~ ../Include/XnPlatform.h:71:9: error: 'XnUInt64' does not name a type 71 | XnUInt64 nTotalMemory; | ^~~~~~~~ ../Include/XnMemory.h:42:10: error: 'XnUInt32' does not name a type 42 | XN_C_API XnUInt32 XN_C_DECL xnOSEndianSwapUINT32(XnUInt32 nValue); | ^~~~~~~~ In file included from ../Include/XnOS.h:30: ../Include/XnOSStrings.h:28:29: error: expected initializer before 'xnOSStrPrefix' 28 | XN_C_API XnStatus XN_C_DECL xnOSStrPrefix(const XnChar* cpPrefixString, XnChar* cpDestString, const XnUInt32 nDestLength); | ^~~~~~~~~~~~~ ../Include/XnOSStrings.h:29:29: error: expected initializer before 'xnOSStrAppend' 29 | XN_C_API XnStatus XN_C_DECL xnOSStrAppend(XnChar* cpDestString, const XnChar* cpSrcString, const XnUInt32 nDestLength); | ^~~~~~~~~~~~~ ../Include/XnOSStrings.h:30:29: error: expected initializer before 'xnOSStrCopy' 30 | XN_C_API XnStatus XN_C_DECL xnOSStrCopy(XnChar* cpDestString, const XnChar* cpSrcString, const XnUInt32 nDestLength); | ^~~~~~~~~~~ ../Include/XnMemory.h:41:10: error: 'XnUInt64' does not name a type 41 | XN_C_API XnUInt64 XN_C_DECL xnOSEndianSwapUINT64(XnUInt64 nValue); | ^~~~~~~~ ../Include/XnMemory.h:43:10: error: 'XnUInt16' does not name a type 43 | XN_C_API XnUInt16 XN_C_DECL xnOSEndianSwapUINT16(XnUInt16 nValue); | ^~~~~~~~ In file included from ../Include/XnFPSCalculator.h:28: ../Include/XnStatus.h:39:16: error: 'XnChar' does not name a type; did you mean 'char'? 39 | XN_C_API const XnChar* XN_C_DECL xnGetStatusString(XnStatus status); | ^~~~~~ | char ../Include/XnOSStrings.h:31:10: error: 'XnUInt32' does not name a type 31 | XN_C_API XnUInt32 XN_C_DECL xnOSStrLen(const XnChar* cpStr); | ^~~~~~~~ ../Include/XnOSStrings.h:32:29: error: expected initializer before 'xnOSStrNCopy' 32 | XN_C_API XnStatus XN_C_DECL xnOSStrNCopy(XnChar* cpDestString, const XnChar* cpSrcString, const XnUInt32 nCopyLength, const XnUInt32 nDestLength); | ^~~~~~~~~~~~ ../Include/XnOSStrings.h:33:29: error: expected initializer before 'xnOSStrCRC32' 33 | XN_C_API XnStatus XN_C_DECL xnOSStrCRC32(const XnChar* cpString, XnUInt32* nCRC32); | ^~~~~~~~~~~~ ../Include/XnOSStrings.h:34:29: error: expected initializer before 'xnOSStrNCRC32' 34 | XN_C_API XnStatus XN_C_DECL xnOSStrNCRC32(XnUChar* cpBuffer, XnUInt32 nBufferSize, XnUInt32* nCRC32); | ^~~~~~~~~~~~~ ../Include/XnOSStrings.h:35:29: error: expected initializer before 'xnOSStrFormat' 35 | XN_C_API XnStatus XN_C_DECL xnOSStrFormat(XnChar* cpDestString, const XnUInt32 nDestLength, XnUInt32* pnCharsWritten, const XnChar* cpFormat, ...); | ^~~~~~~~~~~~~ ../Include/XnOSStrings.h:36:29: error: expected initializer before 'xnOSStrFormatV' 36 | XN_C_API XnStatus XN_C_DECL xnOSStrFormatV(XnChar* cpDestString, const XnUInt32 nDestLength, XnUInt32* pnCharsWritten, const XnChar* cpFormat, va_list args); | ^~~~~~~~~~~~~~ ../Include/XnMemory.h:42:10: error: 'XnUInt32' does not name a type 42 | XN_C_API XnUInt32 XN_C_DECL xnOSEndianSwapUINT32(XnUInt32 nValue); | ^~~~~~~~ ../Include/XnMemory.h:44:10: error: 'XnFloat' does not name a type; did you mean 'float'? 44 | XN_C_API XnFloat XN_C_DECL xnOSEndianSwapFLOAT(XnFloat fValue); | ^~~~~~~ | float ../Include/XnOS.h:61:9: error: ISO C++ forbids declaration of 'XnBool' with no type [-fpermissive] 61 | typedef XnBool (XN_CALLBACK_TYPE* XnConditionFunc)(void* pConditionData); | ^~~~~~ ../Include/XnOS.h:61:9: error: typedef 'XnBool' is initialized (use 'decltype' instead) ../Include/XnStatus.h:48:16: error: 'XnChar' does not name a type; did you mean 'char'? 48 | XN_C_API const XnChar* XN_C_DECL xnGetStatusName(XnStatus status); | ^~~~~~ | char ../Include/XnStatus.h:57:25: error: expected initializer before 'xnPrintError' 57 | XN_C_API void XN_C_DECL xnPrintError(XnStatus status, const XnChar* csUserMessage); | ^~~~~~~~~~~~ ../Include/XnOSStrings.h:37:10: error: 'XnInt32' does not name a type 37 | XN_C_API XnInt32 XN_C_DECL xnOSStrCmp(const XnChar* cpFirstString, const XnChar* cpSecondString); | ^~~~~~~ ../Include/XnFPSCalculator.h:45:29: error: expected initializer before 'xnFPSInit' 45 | XN_C_API XnStatus XN_C_DECL xnFPSInit(XnFPSData* pFPS, XnUInt32 nSamplesCount); | ^~~~~~~~~ ../Include/XnFPSCalculator.h:53:29: error: expected initializer before 'xnFPSMarkFrame' 53 | XN_C_API XnStatus XN_C_DECL xnFPSMarkFrame(XnFPSData* pFPS, XnUInt64 nNow = 0); | ^~~~~~~~~~~~~~ ../Include/XnMemory.h:43:10: error: 'XnUInt16' does not name a type 43 | XN_C_API XnUInt16 XN_C_DECL xnOSEndianSwapUINT16(XnUInt16 nValue); | ^~~~~~~~ ../Include/XnOSStrings.h:38:10: error: 'XnInt32' does not name a type 38 | XN_C_API XnInt32 XN_C_DECL xnOSStrCaseCmp(const XnChar* cpFirstString, const XnChar* cpSecondString); | ^~~~~~~ ../Include/XnOSStrings.h:39:29: error: expected initializer before 'xnOSItoA' 39 | XN_C_API void XN_C_DECL xnOSItoA(XnInt32 nValue, XnChar* cpStr, XnInt32 nBase); | ^~~~~~~~ ../Include/XnFPSCalculator.h:62:10: error: 'XnDouble' does not name a type; did you mean 'double'? 62 | XN_C_API XnDouble XN_C_DECL xnFPSCalc(XnFPSData* pFPS, XnUInt32 nAverageOver = 3000, XnUInt64 nNow = 0); | ^~~~~~~~ | double ../Include/XnMemory.h:44:10: error: 'XnFloat' does not name a type; did you mean 'float'? 44 | XN_C_API XnFloat XN_C_DECL xnOSEndianSwapFLOAT(XnFloat fValue); | ^~~~~~~ | float ../Include/XnFPSCalculator.h:69:29: error: expected initializer before 'xnFPSFree' 69 | XN_C_API XnStatus XN_C_DECL xnFPSFree(XnFPSData* pFPS); | ^~~~~~~~~ ../Include/XnOS.h:61:9: error: ISO C++ forbids declaration of 'XnBool' with no type [-fpermissive] 61 | typedef XnBool (XN_CALLBACK_TYPE* XnConditionFunc)(void* pConditionData); | ^~~~~~ ../Include/XnOS.h:61:9: error: typedef 'XnBool' is initialized (use 'decltype' instead) ../Include/XnOSStrings.h:41:10: error: 'XnChar' does not name a type; did you mean 'char'? 41 | XN_C_API XnChar* XN_C_DECL xnOSStrDup(const XnChar* strSource); | ^~~~~~ | char ../Include/XnOSStrings.h:42:29: error: expected initializer before 'xnOSGetEnvironmentVariable' 42 | XN_C_API XnStatus XN_C_DECL xnOSGetEnvironmentVariable(const XnChar* strEnv, XnChar* strDest, XnUInt32 nDestSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOSStrings.h:43:29: error: expected initializer before 'xnOSExpandEnvironmentStrings' 43 | XN_C_API XnStatus XN_C_DECL xnOSExpandEnvironmentStrings(const XnChar* strSrc, XnChar* strDest, XnUInt32 nDestSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../Include/XnOS.h:31: ../Include/XnMemory.h:28:26: error: expected initializer before 'xnOSMalloc' 28 | XN_C_API void* XN_C_DECL xnOSMalloc(const XnSizeT nAllocSize); | ^~~~~~~~~~ ../Include/XnMemory.h:29:26: error: expected initializer before 'xnOSMallocAligned' 29 | XN_C_API void* XN_C_DECL xnOSMallocAligned(const XnSizeT nAllocSize, const XnSizeT nAlignment); | ^~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:30:26: error: expected initializer before 'xnOSCalloc' 30 | XN_C_API void* XN_C_DECL xnOSCalloc(const XnSizeT nAllocNum, const XnSizeT nAllocSize); | ^~~~~~~~~~ ../Include/XnMemory.h:31:26: error: expected initializer before 'xnOSCallocAligned' 31 | XN_C_API void* XN_C_DECL xnOSCallocAligned(const XnSizeT nAllocNum, const XnSizeT nAllocSize, const XnSizeT nAlignment); | ^~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:32:26: error: expected initializer before 'xnOSRealloc' 32 | XN_C_API void* XN_C_DECL xnOSRealloc(void* pMemory, const XnSizeT nAllocSize); | ^~~~~~~~~~~ ../Include/XnMemory.h:33:26: error: expected initializer before 'xnOSReallocAligned' 33 | XN_C_API void* XN_C_DECL xnOSReallocAligned(void* pMemory, const XnSizeT nAllocSize, const XnSizeT nAlignment); | ^~~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:34:26: error: expected initializer before 'xnOSRecalloc' 34 | XN_C_API void* XN_C_DECL xnOSRecalloc(void* pMemory, const XnSizeT nAllocNum, const XnSizeT nAllocSize); | ^~~~~~~~~~~~ ../Include/XnMemory.h:35:25: error: expected initializer before 'xnOSFree' 35 | XN_C_API void XN_C_DECL xnOSFree(const void* pMemBlock); | ^~~~~~~~ ../Include/XnMemory.h:36:25: error: expected initializer before 'xnOSFreeAligned' 36 | XN_C_API void XN_C_DECL xnOSFreeAligned(const void* pMemBlock); | ^~~~~~~~~~~~~~~ In file included from ../Include/XnOS.h:30: ../Include/XnOSStrings.h:28:29: error: expected initializer before 'xnOSStrPrefix' 28 | XN_C_API XnStatus XN_C_DECL xnOSStrPrefix(const XnChar* cpPrefixString, XnChar* cpDestString, const XnUInt32 nDestLength); | ^~~~~~~~~~~~~ ../Include/XnMemory.h:37:25: error: expected initializer before 'xnOSMemCopy' 37 | XN_C_API void XN_C_DECL xnOSMemCopy(void* pDest, const void* pSource, XnSizeT nCount); | ^~~~~~~~~~~ ../Include/XnOSStrings.h:29:29: error: expected initializer before 'xnOSStrAppend' 29 | XN_C_API XnStatus XN_C_DECL xnOSStrAppend(XnChar* cpDestString, const XnChar* cpSrcString, const XnUInt32 nDestLength); | ^~~~~~~~~~~~~ ../Include/XnOSStrings.h:30:29: error: expected initializer before 'xnOSStrCopy' 30 | XN_C_API XnStatus XN_C_DECL xnOSStrCopy(XnChar* cpDestString, const XnChar* cpSrcString, const XnUInt32 nDestLength); | ^~~~~~~~~~~ ../Include/XnMemory.h:38:10: error: 'XnInt32' does not name a type 38 | XN_C_API XnInt32 XN_C_DECL xnOSMemCmp(const void *pBuf1, const void *pBuf2, XnSizeT nCount); | ^~~~~~~ ../Include/XnMemory.h:39:25: error: expected initializer before 'xnOSMemSet' 39 | XN_C_API void XN_C_DECL xnOSMemSet(void* pDest, XnUInt8 nValue, XnSizeT nCount); | ^~~~~~~~~~ ../Include/XnOSStrings.h:31:10: error: 'XnUInt32' does not name a type 31 | XN_C_API XnUInt32 XN_C_DECL xnOSStrLen(const XnChar* cpStr); | ^~~~~~~~ ../Include/XnMemory.h:40:25: error: expected initializer before 'xnOSMemMove' 40 | XN_C_API void XN_C_DECL xnOSMemMove(void* pDest, const void* pSource, XnSizeT nCount); | ^~~~~~~~~~~ ../Include/XnOSStrings.h:32:29: error: expected initializer before 'xnOSStrNCopy' 32 | XN_C_API XnStatus XN_C_DECL xnOSStrNCopy(XnChar* cpDestString, const XnChar* cpSrcString, const XnUInt32 nCopyLength, const XnUInt32 nDestLength); | ^~~~~~~~~~~~ ../Include/XnOSStrings.h:33:29: error: expected initializer before 'xnOSStrCRC32' 33 | XN_C_API XnStatus XN_C_DECL xnOSStrCRC32(const XnChar* cpString, XnUInt32* nCRC32); | ^~~~~~~~~~~~ ../Include/XnOSStrings.h:34:29: error: expected initializer before 'xnOSStrNCRC32' 34 | XN_C_API XnStatus XN_C_DECL xnOSStrNCRC32(XnUChar* cpBuffer, XnUInt32 nBufferSize, XnUInt32* nCRC32); | ^~~~~~~~~~~~~ ../Include/XnOSStrings.h:35:29: error: expected initializer before 'xnOSStrFormat' 35 | XN_C_API XnStatus XN_C_DECL xnOSStrFormat(XnChar* cpDestString, const XnUInt32 nDestLength, XnUInt32* pnCharsWritten, const XnChar* cpFormat, ...); | ^~~~~~~~~~~~~ ../Include/XnOSStrings.h:36:29: error: expected initializer before 'xnOSStrFormatV' 36 | XN_C_API XnStatus XN_C_DECL xnOSStrFormatV(XnChar* cpDestString, const XnUInt32 nDestLength, XnUInt32* pnCharsWritten, const XnChar* cpFormat, va_list args); | ^~~~~~~~~~~~~~ ../Include/XnMemory.h:41:10: error: 'XnUInt64' does not name a type 41 | XN_C_API XnUInt64 XN_C_DECL xnOSEndianSwapUINT64(XnUInt64 nValue); | ^~~~~~~~ ../Include/XnOS.h:61:17: error: 'XN_CALLBACK_TYPE' was not declared in this scope 61 | typedef XnBool (XN_CALLBACK_TYPE* XnConditionFunc)(void* pConditionData); | ^~~~~~~~~~~~~~~~ ../Include/XnOSStrings.h:37:10: error: 'XnInt32' does not name a type 37 | XN_C_API XnInt32 XN_C_DECL xnOSStrCmp(const XnChar* cpFirstString, const XnChar* cpSecondString); | ^~~~~~~ ../Include/XnMemory.h:42:10: error: 'XnUInt32' does not name a type 42 | XN_C_API XnUInt32 XN_C_DECL xnOSEndianSwapUINT32(XnUInt32 nValue); | ^~~~~~~~ ../Include/XnOSStrings.h:38:10: error: 'XnInt32' does not name a type 38 | XN_C_API XnInt32 XN_C_DECL xnOSStrCaseCmp(const XnChar* cpFirstString, const XnChar* cpSecondString); | ^~~~~~~ ../Include/XnOSStrings.h:39:29: error: expected initializer before 'xnOSItoA' 39 | XN_C_API void XN_C_DECL xnOSItoA(XnInt32 nValue, XnChar* cpStr, XnInt32 nBase); | ^~~~~~~~ ../Include/XnMemory.h:43:10: error: 'XnUInt16' does not name a type 43 | XN_C_API XnUInt16 XN_C_DECL xnOSEndianSwapUINT16(XnUInt16 nValue); | ^~~~~~~~ ../Include/XnOS.h:61:17: error: 'XN_CALLBACK_TYPE' was not declared in this scope 61 | typedef XnBool (XN_CALLBACK_TYPE* XnConditionFunc)(void* pConditionData); | ^~~~~~~~~~~~~~~~ ../Include/XnOSStrings.h:41:10: error: 'XnChar' does not name a type; did you mean 'char'? 41 | XN_C_API XnChar* XN_C_DECL xnOSStrDup(const XnChar* strSource); | ^~~~~~ | char ../Include/XnOSStrings.h:42:29: error: expected initializer before 'xnOSGetEnvironmentVariable' 42 | XN_C_API XnStatus XN_C_DECL xnOSGetEnvironmentVariable(const XnChar* strEnv, XnChar* strDest, XnUInt32 nDestSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOSStrings.h:43:29: error: expected initializer before 'xnOSExpandEnvironmentStrings' 43 | XN_C_API XnStatus XN_C_DECL xnOSExpandEnvironmentStrings(const XnChar* strSrc, XnChar* strDest, XnUInt32 nDestSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../Include/XnOS.h:31: ../Include/XnMemory.h:28:26: error: expected initializer before 'xnOSMalloc' 28 | XN_C_API void* XN_C_DECL xnOSMalloc(const XnSizeT nAllocSize); | ^~~~~~~~~~ ../Include/XnMemory.h:29:26: error: expected initializer before 'xnOSMallocAligned' 29 | XN_C_API void* XN_C_DECL xnOSMallocAligned(const XnSizeT nAllocSize, const XnSizeT nAlignment); | ^~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:30:26: error: expected initializer before 'xnOSCalloc' 30 | XN_C_API void* XN_C_DECL xnOSCalloc(const XnSizeT nAllocNum, const XnSizeT nAllocSize); | ^~~~~~~~~~ ../Include/XnMemory.h:31:26: error: expected initializer before 'xnOSCallocAligned' 31 | XN_C_API void* XN_C_DECL xnOSCallocAligned(const XnSizeT nAllocNum, const XnSizeT nAllocSize, const XnSizeT nAlignment); | ^~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:44:10: error: 'XnFloat' does not name a type; did you mean 'float'? 44 | XN_C_API XnFloat XN_C_DECL xnOSEndianSwapFLOAT(XnFloat fValue); | ^~~~~~~ | float ../Include/XnOS.h:61:9: error: ISO C++ forbids declaration of 'XnBool' with no type [-fpermissive] 61 | typedef XnBool (XN_CALLBACK_TYPE* XnConditionFunc)(void* pConditionData); | ^~~~~~ ../Include/XnOS.h:61:9: error: typedef 'XnBool' is initialized (use 'decltype' instead) ../Include/XnOS.h:61:35: error: 'XnConditionFunc' was not declared in this scope 61 | typedef XnBool (XN_CALLBACK_TYPE* XnConditionFunc)(void* pConditionData); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:67:8: error: 'XnOSTimer' does not name a type 67 | extern XnOSTimer g_xnOSHighResGlobalTimer; | ^~~~~~~~~ ../Include/XnOS.h:313:29: error: expected initializer before 'xnOSGetInfo' 313 | XN_C_API XnStatus XN_C_DECL xnOSGetInfo(xnOSInfo* pOSInfo); | ^~~~~~~~~~~ ../Include/XnOS.h:343:26: error: expected initializer before 'xnOSLogMemAlloc' 343 | XN_C_API void* XN_C_DECL xnOSLogMemAlloc(void* pMemBlock, XnAllocationType nAllocType, XnUInt32 nBytes, const XnChar* csFunction, const XnChar* csFile, XnUInt32 nLine, const XnChar* csAdditional); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:348:25: error: expected initializer before 'xnOSLogMemFree' 348 | XN_C_API void XN_C_DECL xnOSLogMemFree(const void* pMemBlock); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:61:35: error: 'XnConditionFunc' was not declared in this scope 61 | typedef XnBool (XN_CALLBACK_TYPE* XnConditionFunc)(void* pConditionData); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:353:25: error: expected initializer before 'xnOSWriteMemoryReport' 353 | XN_C_API void XN_C_DECL xnOSWriteMemoryReport(const XnChar* csFileName); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:438:29: error: expected initializer before 'xnOSCountFiles' 438 | XN_C_API XnStatus XN_C_DECL xnOSCountFiles(const XnChar* cpSearchPattern, XnInt32* pnFoundFiles); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:439:29: error: expected initializer before 'xnOSGetFileList' 439 | XN_C_API XnStatus XN_C_DECL xnOSGetFileList(const XnChar* cpSearchPattern, const XnChar* cpPrefixPath, XnChar cpFileList[][XN_FILE_MAX_PATH], const XnInt32 nMaxFiles, XnInt32* pnFoundFiles); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:67:8: error: 'XnOSTimer' does not name a type 67 | extern XnOSTimer g_xnOSHighResGlobalTimer; | ^~~~~~~~~ ../Include/XnOS.h:440:29: error: expected initializer before 'xnOSOpenFile' 440 | XN_C_API XnStatus XN_C_DECL xnOSOpenFile(const XnChar* cpFileName, const XnUInt32 nFlags, XN_FILE_HANDLE* pFile); | ^~~~~~~~~~~~ ../Include/XnOS.h:313:29: error: expected initializer before 'xnOSGetInfo' 313 | XN_C_API XnStatus XN_C_DECL xnOSGetInfo(xnOSInfo* pOSInfo); | ^~~~~~~~~~~ ../Include/XnOS.h:441:29: error: expected initializer before 'xnOSCloseFile' 441 | XN_C_API XnStatus XN_C_DECL xnOSCloseFile(XN_FILE_HANDLE* pFile); | ^~~~~~~~~~~~~ ../Include/XnOS.h:61:17: error: 'XN_CALLBACK_TYPE' was not declared in this scope 61 | typedef XnBool (XN_CALLBACK_TYPE* XnConditionFunc)(void* pConditionData); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:343:26: error: expected initializer before 'xnOSLogMemAlloc' 343 | XN_C_API void* XN_C_DECL xnOSLogMemAlloc(void* pMemBlock, XnAllocationType nAllocType, XnUInt32 nBytes, const XnChar* csFunction, const XnChar* csFile, XnUInt32 nLine, const XnChar* csAdditional); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:442:29: error: expected initializer before 'xnOSReadFile' 442 | XN_C_API XnStatus XN_C_DECL xnOSReadFile(const XN_FILE_HANDLE File, void* pBuffer, XnUInt32* pnBufferSize); | ^~~~~~~~~~~~ ../Include/XnOS.h:348:25: error: expected initializer before 'xnOSLogMemFree' 348 | XN_C_API void XN_C_DECL xnOSLogMemFree(const void* pMemBlock); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:443:29: error: expected initializer before 'xnOSWriteFile' 443 | XN_C_API XnStatus XN_C_DECL xnOSWriteFile(const XN_FILE_HANDLE File, const void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~ ../Include/XnOS.h:353:25: error: expected initializer before 'xnOSWriteMemoryReport' 353 | XN_C_API void XN_C_DECL xnOSWriteMemoryReport(const XnChar* csFileName); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:444:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:438:29: error: expected initializer before 'xnOSCountFiles' 438 | XN_C_API XnStatus XN_C_DECL xnOSCountFiles(const XnChar* cpSearchPattern, XnInt32* pnFoundFiles); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:444:37: error: invalid conversion from 'const char*' to 'XnStatus' {aka 'int'} [-fpermissive] 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char* ../Include/XnOS.h:439:29: error: expected initializer before 'xnOSGetFileList' 439 | XN_C_API XnStatus XN_C_DECL xnOSGetFileList(const XnChar* cpSearchPattern, const XnChar* cpPrefixPath, XnChar cpFileList[][XN_FILE_MAX_PATH], const XnInt32 nMaxFiles, XnInt32* pnFoundFiles); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:440:29: error: expected initializer before 'xnOSOpenFile' 440 | XN_C_API XnStatus XN_C_DECL xnOSOpenFile(const XnChar* cpFileName, const XnUInt32 nFlags, XN_FILE_HANDLE* pFile); | ^~~~~~~~~~~~ ../Include/XnOS.h:441:29: error: expected initializer before 'xnOSCloseFile' 441 | XN_C_API XnStatus XN_C_DECL xnOSCloseFile(XN_FILE_HANDLE* pFile); | ^~~~~~~~~~~~~ ../Include/XnOS.h:444:69: error: expected ',' or ';' before 'XN_C_DECL' 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~ ../Include/XnOS.h:442:29: error: expected initializer before 'xnOSReadFile' 442 | XN_C_API XnStatus XN_C_DECL xnOSReadFile(const XN_FILE_HANDLE File, void* pBuffer, XnUInt32* pnBufferSize); | ^~~~~~~~~~~~ ../Include/XnOS.h:446:29: error: expected initializer before 'xnOSSeekFile64' 446 | XN_C_API XnStatus XN_C_DECL xnOSSeekFile64(const XN_FILE_HANDLE File, const XnOSSeekType SeekType, const XnInt64 nOffset); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:443:29: error: expected initializer before 'xnOSWriteFile' 443 | XN_C_API XnStatus XN_C_DECL xnOSWriteFile(const XN_FILE_HANDLE File, const void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~ ../Include/XnOS.h:447:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 447 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSTellFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:447:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnOS.h:444:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:444:37: error: invalid conversion from 'const char*' to 'XnStatus' {aka 'int'} [-fpermissive] 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char* ../Include/XnOS.h:449:29: error: expected initializer before 'xnOSTellFile64' 449 | XN_C_API XnStatus XN_C_DECL xnOSTellFile64(const XN_FILE_HANDLE File, XnUInt64* nFilePos); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:450:29: error: expected initializer before 'xnOSTruncateFile64' 450 | XN_C_API XnStatus XN_C_DECL xnOSTruncateFile64(const XN_FILE_HANDLE File, XnUInt64 nFilePos); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:444:69: error: expected ',' or ';' before 'XN_C_DECL' 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~ ../Include/XnOS.h:451:29: error: expected initializer before 'xnOSFlushFile' 451 | XN_C_API XnStatus XN_C_DECL xnOSFlushFile(const XN_FILE_HANDLE File); | ^~~~~~~~~~~~~ ../Include/XnOS.h:446:29: error: expected initializer before 'xnOSSeekFile64' 446 | XN_C_API XnStatus XN_C_DECL xnOSSeekFile64(const XN_FILE_HANDLE File, const XnOSSeekType SeekType, const XnInt64 nOffset); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:452:29: error: expected initializer before 'xnOSDoesFileExist' 452 | XN_C_API XnStatus XN_C_DECL xnOSDoesFileExist(const XnChar* cpFileName, XnBool* pbResult); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:447:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 447 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSTellFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:447:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnOS.h:453:29: error: expected initializer before 'xnOSDoesDirectoryExist' 453 | XN_C_API XnStatus XN_C_DECL xnOSDoesDirectoryExist(const XnChar* cpDirName, XnBool* pbResult); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:454:29: error: expected initializer before 'xnOSLoadFile' 454 | XN_C_API XnStatus XN_C_DECL xnOSLoadFile(const XnChar* cpFileName, void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~ ../Include/XnOS.h:449:29: error: expected initializer before 'xnOSTellFile64' 449 | XN_C_API XnStatus XN_C_DECL xnOSTellFile64(const XN_FILE_HANDLE File, XnUInt64* nFilePos); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:455:29: error: expected initializer before 'xnOSSaveFile' 455 | XN_C_API XnStatus XN_C_DECL xnOSSaveFile(const XnChar* cpFileName, const void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~ ../Include/XnOS.h:61:35: error: 'XnConditionFunc' was not declared in this scope 61 | typedef XnBool (XN_CALLBACK_TYPE* XnConditionFunc)(void* pConditionData); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:450:29: error: expected initializer before 'xnOSTruncateFile64' 450 | XN_C_API XnStatus XN_C_DECL xnOSTruncateFile64(const XN_FILE_HANDLE File, XnUInt64 nFilePos); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:456:29: error: expected initializer before 'xnOSAppendFile' 456 | XN_C_API XnStatus XN_C_DECL xnOSAppendFile(const XnChar* cpFileName, const void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:451:29: error: expected initializer before 'xnOSFlushFile' 451 | XN_C_API XnStatus XN_C_DECL xnOSFlushFile(const XN_FILE_HANDLE File); | ^~~~~~~~~~~~~ ../Include/XnOS.h:457:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 457 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSGetFileSize64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:457:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnOS.h:452:29: error: expected initializer before 'xnOSDoesFileExist' 452 | XN_C_API XnStatus XN_C_DECL xnOSDoesFileExist(const XnChar* cpFileName, XnBool* pbResult); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:67:8: error: 'XnOSTimer' does not name a type 67 | extern XnOSTimer g_xnOSHighResGlobalTimer; | ^~~~~~~~~ ../Include/XnOS.h:453:29: error: expected initializer before 'xnOSDoesDirectoryExist' 453 | XN_C_API XnStatus XN_C_DECL xnOSDoesDirectoryExist(const XnChar* cpDirName, XnBool* pbResult); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:459:29: error: expected initializer before 'xnOSGetFileSize64' 459 | XN_C_API XnStatus XN_C_DECL xnOSGetFileSize64(const XnChar* cpFileName, XnUInt64* pnFileSize); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:454:29: error: expected initializer before 'xnOSLoadFile' 454 | XN_C_API XnStatus XN_C_DECL xnOSLoadFile(const XnChar* cpFileName, void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~ ../Include/XnOS.h:460:29: error: expected initializer before 'xnOSCreateDirectory' 460 | XN_C_API XnStatus XN_C_DECL xnOSCreateDirectory(const XnChar* cpDirName); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:313:29: error: expected initializer before 'xnOSGetInfo' 313 | XN_C_API XnStatus XN_C_DECL xnOSGetInfo(xnOSInfo* pOSInfo); | ^~~~~~~~~~~ ../Include/XnOS.h:455:29: error: expected initializer before 'xnOSSaveFile' 455 | XN_C_API XnStatus XN_C_DECL xnOSSaveFile(const XnChar* cpFileName, const void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~ ../Include/XnOS.h:456:29: error: expected initializer before 'xnOSAppendFile' 456 | XN_C_API XnStatus XN_C_DECL xnOSAppendFile(const XnChar* cpFileName, const void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:461:29: error: expected initializer before 'xnOSGetDirName' 461 | XN_C_API XnStatus XN_C_DECL xnOSGetDirName(const XnChar* cpFilePath, XnChar* cpDirName, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:457:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 457 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSGetFileSize64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:457:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnOS.h:462:29: error: expected initializer before 'xnOSGetFileName' 462 | XN_C_API XnStatus XN_C_DECL xnOSGetFileName(const XnChar* cpFilePath, XnChar* cpFileName, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:463:29: error: expected initializer before 'xnOSGetFullPathName' 463 | XN_C_API XnStatus XN_C_DECL xnOSGetFullPathName(const XnChar* strFilePath, XnChar* strFullPath, XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:459:29: error: expected initializer before 'xnOSGetFileSize64' 459 | XN_C_API XnStatus XN_C_DECL xnOSGetFileSize64(const XnChar* cpFileName, XnUInt64* pnFileSize); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:464:29: error: expected initializer before 'xnOSGetCurrentDir' 464 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentDir(XnChar* cpDirName, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:460:29: error: expected initializer before 'xnOSCreateDirectory' 460 | XN_C_API XnStatus XN_C_DECL xnOSCreateDirectory(const XnChar* cpDirName); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:465:29: error: expected initializer before 'xnOSSetCurrentDir' 465 | XN_C_API XnStatus XN_C_DECL xnOSSetCurrentDir(const XnChar* cpDirName); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:461:29: error: expected initializer before 'xnOSGetDirName' 461 | XN_C_API XnStatus XN_C_DECL xnOSGetDirName(const XnChar* cpFilePath, XnChar* cpDirName, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:474:29: error: expected initializer before 'xnOSStripDirSep' 474 | XN_C_API XnStatus XN_C_DECL xnOSStripDirSep(XnChar* strDirName); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:462:29: error: expected initializer before 'xnOSGetFileName' 462 | XN_C_API XnStatus XN_C_DECL xnOSGetFileName(const XnChar* cpFilePath, XnChar* cpFileName, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:463:29: error: expected initializer before 'xnOSGetFullPathName' 463 | XN_C_API XnStatus XN_C_DECL xnOSGetFullPathName(const XnChar* strFilePath, XnChar* strFullPath, XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:464:29: error: expected initializer before 'xnOSGetCurrentDir' 464 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentDir(XnChar* cpDirName, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:343:26: error: expected initializer before 'xnOSLogMemAlloc' 343 | XN_C_API void* XN_C_DECL xnOSLogMemAlloc(void* pMemBlock, XnAllocationType nAllocType, XnUInt32 nBytes, const XnChar* csFunction, const XnChar* csFile, XnUInt32 nLine, const XnChar* csAdditional); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:465:29: error: expected initializer before 'xnOSSetCurrentDir' 465 | XN_C_API XnStatus XN_C_DECL xnOSSetCurrentDir(const XnChar* cpDirName); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:348:25: error: expected initializer before 'xnOSLogMemFree' 348 | XN_C_API void XN_C_DECL xnOSLogMemFree(const void* pMemBlock); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:478:10: error: 'XnBool' does not name a type; did you mean 'bool'? 478 | XN_C_API XnBool XN_C_DECL xnOSIsDirSep(XnChar c); | ^~~~~~ | bool ../Include/XnOS.h:353:25: error: expected initializer before 'xnOSWriteMemoryReport' 353 | XN_C_API void XN_C_DECL xnOSWriteMemoryReport(const XnChar* csFileName); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:474:29: error: expected initializer before 'xnOSStripDirSep' 474 | XN_C_API XnStatus XN_C_DECL xnOSStripDirSep(XnChar* strDirName); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:488:29: error: expected initializer before 'xnOSAppendFilePath' 488 | XN_C_API XnStatus XN_C_DECL xnOSAppendFilePath(XnChar* strDestPath, const XnChar* strPathComponentToAppend, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:438:29: error: expected initializer before 'xnOSCountFiles' 438 | XN_C_API XnStatus XN_C_DECL xnOSCountFiles(const XnChar* cpSearchPattern, XnInt32* pnFoundFiles); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:439:29: error: expected initializer before 'xnOSGetFileList' 439 | XN_C_API XnStatus XN_C_DECL xnOSGetFileList(const XnChar* cpSearchPattern, const XnChar* cpPrefixPath, XnChar cpFileList[][XN_FILE_MAX_PATH], const XnInt32 nMaxFiles, XnInt32* pnFoundFiles); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:440:29: error: expected initializer before 'xnOSOpenFile' 440 | XN_C_API XnStatus XN_C_DECL xnOSOpenFile(const XnChar* cpFileName, const XnUInt32 nFlags, XN_FILE_HANDLE* pFile); | ^~~~~~~~~~~~ ../Include/XnOS.h:441:29: error: expected initializer before 'xnOSCloseFile' 441 | XN_C_API XnStatus XN_C_DECL xnOSCloseFile(XN_FILE_HANDLE* pFile); | ^~~~~~~~~~~~~ ../Include/XnOS.h:478:10: error: 'XnBool' does not name a type; did you mean 'bool'? 478 | XN_C_API XnBool XN_C_DECL xnOSIsDirSep(XnChar c); | ^~~~~~ | bool ../Include/XnOS.h:442:29: error: expected initializer before 'xnOSReadFile' 442 | XN_C_API XnStatus XN_C_DECL xnOSReadFile(const XN_FILE_HANDLE File, void* pBuffer, XnUInt32* pnBufferSize); | ^~~~~~~~~~~~ ../Include/XnOS.h:492:10: error: 'XnBool' does not name a type; did you mean 'bool'? 492 | XN_C_API XnBool XN_C_DECL xnOSIsAbsoluteFilePath(const XnChar* strFilePath); | ^~~~~~ | bool ../Include/XnOS.h:488:29: error: expected initializer before 'xnOSAppendFilePath' 488 | XN_C_API XnStatus XN_C_DECL xnOSAppendFilePath(XnChar* strDestPath, const XnChar* strPathComponentToAppend, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:443:29: error: expected initializer before 'xnOSWriteFile' 443 | XN_C_API XnStatus XN_C_DECL xnOSWriteFile(const XN_FILE_HANDLE File, const void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~ ../Include/XnOS.h:493:29: error: expected initializer before 'xnOSDeleteFile' 493 | XN_C_API XnStatus XN_C_DECL xnOSDeleteFile(const XnChar* cpFileName); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:444:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:494:29: error: expected initializer before 'xnOSDeleteEmptyDirectory' 494 | XN_C_API XnStatus XN_C_DECL xnOSDeleteEmptyDirectory(const XnChar* strDirName); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:495:29: error: expected initializer before 'xnOSDeleteDirectoryTree' 495 | XN_C_API XnStatus XN_C_DECL xnOSDeleteDirectoryTree(const XnChar* strDirName); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:444:37: error: invalid conversion from 'const char*' to 'XnStatus' {aka 'int'} [-fpermissive] 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char* ../Include/XnOS.h:498:29: error: expected initializer before 'xnOSReadStringFromINI' 498 | XN_C_API XnStatus XN_C_DECL xnOSReadStringFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnChar* cpDest, const XnUInt32 nDestLength); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:492:10: error: 'XnBool' does not name a type; did you mean 'bool'? 492 | XN_C_API XnBool XN_C_DECL xnOSIsAbsoluteFilePath(const XnChar* strFilePath); | ^~~~~~ | bool ../Include/XnOS.h:444:69: error: expected ',' or ';' before 'XN_C_DECL' 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~ ../Include/XnOS.h:499:29: error: expected initializer before 'xnOSReadFloatFromINI' 499 | XN_C_API XnStatus XN_C_DECL xnOSReadFloatFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnFloat* fDest); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:493:29: error: expected initializer before 'xnOSDeleteFile' 493 | XN_C_API XnStatus XN_C_DECL xnOSDeleteFile(const XnChar* cpFileName); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:446:29: error: expected initializer before 'xnOSSeekFile64' 446 | XN_C_API XnStatus XN_C_DECL xnOSSeekFile64(const XN_FILE_HANDLE File, const XnOSSeekType SeekType, const XnInt64 nOffset); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:500:29: error: expected initializer before 'xnOSReadDoubleFromINI' 500 | XN_C_API XnStatus XN_C_DECL xnOSReadDoubleFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnDouble* fDest); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:494:29: error: expected initializer before 'xnOSDeleteEmptyDirectory' 494 | XN_C_API XnStatus XN_C_DECL xnOSDeleteEmptyDirectory(const XnChar* strDirName); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:447:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 447 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSTellFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:447:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnOS.h:501:29: error: expected initializer before 'xnOSReadIntFromINI' 501 | XN_C_API XnStatus XN_C_DECL xnOSReadIntFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnInt32* nDest); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:495:29: error: expected initializer before 'xnOSDeleteDirectoryTree' 495 | XN_C_API XnStatus XN_C_DECL xnOSDeleteDirectoryTree(const XnChar* strDirName); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:502:29: error: expected initializer before 'xnOSWriteStringToINI' 502 | XN_C_API XnStatus XN_C_DECL xnOSWriteStringToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnChar* cpSrc); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:498:29: error: expected initializer before 'xnOSReadStringFromINI' 498 | XN_C_API XnStatus XN_C_DECL xnOSReadStringFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnChar* cpDest, const XnUInt32 nDestLength); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:449:29: error: expected initializer before 'xnOSTellFile64' 449 | XN_C_API XnStatus XN_C_DECL xnOSTellFile64(const XN_FILE_HANDLE File, XnUInt64* nFilePos); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:503:29: error: expected initializer before 'xnOSWriteFloatToINI' 503 | XN_C_API XnStatus XN_C_DECL xnOSWriteFloatToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnFloat fSrc); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:499:29: error: expected initializer before 'xnOSReadFloatFromINI' 499 | XN_C_API XnStatus XN_C_DECL xnOSReadFloatFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnFloat* fDest); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:450:29: error: expected initializer before 'xnOSTruncateFile64' 450 | XN_C_API XnStatus XN_C_DECL xnOSTruncateFile64(const XN_FILE_HANDLE File, XnUInt64 nFilePos); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:504:29: error: expected initializer before 'xnOSWriteDoubleToINI' 504 | XN_C_API XnStatus XN_C_DECL xnOSWriteDoubleToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnDouble fSrc); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:500:29: error: expected initializer before 'xnOSReadDoubleFromINI' 500 | XN_C_API XnStatus XN_C_DECL xnOSReadDoubleFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnDouble* fDest); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:451:29: error: expected initializer before 'xnOSFlushFile' 451 | XN_C_API XnStatus XN_C_DECL xnOSFlushFile(const XN_FILE_HANDLE File); | ^~~~~~~~~~~~~ ../Include/XnOS.h:505:29: error: expected initializer before 'xnOSWriteIntToINI' 505 | XN_C_API XnStatus XN_C_DECL xnOSWriteIntToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnInt32 nSrc); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:501:29: error: expected initializer before 'xnOSReadIntFromINI' 501 | XN_C_API XnStatus XN_C_DECL xnOSReadIntFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnInt32* nDest); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:452:29: error: expected initializer before 'xnOSDoesFileExist' 452 | XN_C_API XnStatus XN_C_DECL xnOSDoesFileExist(const XnChar* cpFileName, XnBool* pbResult); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:508:29: error: expected initializer before 'xnOSLoadLibrary' 508 | XN_C_API XnStatus XN_C_DECL xnOSLoadLibrary(const XnChar* cpFileName, XN_LIB_HANDLE* pLibHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:502:29: error: expected initializer before 'xnOSWriteStringToINI' 502 | XN_C_API XnStatus XN_C_DECL xnOSWriteStringToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnChar* cpSrc); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:453:29: error: expected initializer before 'xnOSDoesDirectoryExist' 453 | XN_C_API XnStatus XN_C_DECL xnOSDoesDirectoryExist(const XnChar* cpDirName, XnBool* pbResult); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:509:29: error: expected initializer before 'xnOSFreeLibrary' 509 | XN_C_API XnStatus XN_C_DECL xnOSFreeLibrary(const XN_LIB_HANDLE LibHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:503:29: error: expected initializer before 'xnOSWriteFloatToINI' 503 | XN_C_API XnStatus XN_C_DECL xnOSWriteFloatToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnFloat fSrc); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:454:29: error: expected initializer before 'xnOSLoadFile' 454 | XN_C_API XnStatus XN_C_DECL xnOSLoadFile(const XnChar* cpFileName, void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~ ../Include/XnOS.h:510:29: error: expected initializer before 'xnOSGetProcAddress' 510 | XN_C_API XnStatus XN_C_DECL xnOSGetProcAddress(const XN_LIB_HANDLE LibHandle, const XnChar* cpProcName, XnFarProc* pProcAddr); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:455:29: error: expected initializer before 'xnOSSaveFile' 455 | XN_C_API XnStatus XN_C_DECL xnOSSaveFile(const XnChar* cpFileName, const void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~ ../Include/XnOS.h:504:29: error: expected initializer before 'xnOSWriteDoubleToINI' 504 | XN_C_API XnStatus XN_C_DECL xnOSWriteDoubleToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnDouble fSrc); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:456:29: error: expected initializer before 'xnOSAppendFile' 456 | XN_C_API XnStatus XN_C_DECL xnOSAppendFile(const XnChar* cpFileName, const void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:518:29: error: expected initializer before 'xnOSGetModulePathForProcAddress' 518 | XN_C_API XnStatus XN_C_DECL xnOSGetModulePathForProcAddress(void* procAddr, XnChar *strModulePath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:505:29: error: expected initializer before 'xnOSWriteIntToINI' 505 | XN_C_API XnStatus XN_C_DECL xnOSWriteIntToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnInt32 nSrc); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:457:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 457 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSGetFileSize64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:457:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnOS.h:508:29: error: expected initializer before 'xnOSLoadLibrary' 508 | XN_C_API XnStatus XN_C_DECL xnOSLoadLibrary(const XnChar* cpFileName, XN_LIB_HANDLE* pLibHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:523:29: error: expected initializer before 'xnOSGetEpochTime' 523 | XN_C_API XnStatus XN_C_DECL xnOSGetEpochTime(XnUInt32* nEpochTime); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:509:29: error: expected initializer before 'xnOSFreeLibrary' 509 | XN_C_API XnStatus XN_C_DECL xnOSFreeLibrary(const XN_LIB_HANDLE LibHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:524:29: error: expected initializer before 'xnOSGetTimeStamp' 524 | XN_C_API XnStatus XN_C_DECL xnOSGetTimeStamp(XnUInt64* nTimeStamp); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:459:29: error: expected initializer before 'xnOSGetFileSize64' 459 | XN_C_API XnStatus XN_C_DECL xnOSGetFileSize64(const XnChar* cpFileName, XnUInt64* pnFileSize); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:510:29: error: expected initializer before 'xnOSGetProcAddress' 510 | XN_C_API XnStatus XN_C_DECL xnOSGetProcAddress(const XN_LIB_HANDLE LibHandle, const XnChar* cpProcName, XnFarProc* pProcAddr); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:525:29: error: expected initializer before 'xnOSGetHighResTimeStamp' 525 | XN_C_API XnStatus XN_C_DECL xnOSGetHighResTimeStamp(XnUInt64* nTimeStamp); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:460:29: error: expected initializer before 'xnOSCreateDirectory' 460 | XN_C_API XnStatus XN_C_DECL xnOSCreateDirectory(const XnChar* cpDirName); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:518:29: error: expected initializer before 'xnOSGetModulePathForProcAddress' 518 | XN_C_API XnStatus XN_C_DECL xnOSGetModulePathForProcAddress(void* procAddr, XnChar *strModulePath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:526:29: error: expected initializer before 'xnOSSleep' 526 | XN_C_API XnStatus XN_C_DECL xnOSSleep(XnUInt32 nMilliseconds); | ^~~~~~~~~ ../Include/XnOS.h:461:29: error: expected initializer before 'xnOSGetDirName' 461 | XN_C_API XnStatus XN_C_DECL xnOSGetDirName(const XnChar* cpFilePath, XnChar* cpDirName, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:523:29: error: expected initializer before 'xnOSGetEpochTime' 523 | XN_C_API XnStatus XN_C_DECL xnOSGetEpochTime(XnUInt32* nEpochTime); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:527:29: error: expected initializer before 'xnOSStartTimer' 527 | XN_C_API XnStatus XN_C_DECL xnOSStartTimer(XnOSTimer* pTimer); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:462:29: error: expected initializer before 'xnOSGetFileName' 462 | XN_C_API XnStatus XN_C_DECL xnOSGetFileName(const XnChar* cpFilePath, XnChar* cpFileName, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:524:29: error: expected initializer before 'xnOSGetTimeStamp' 524 | XN_C_API XnStatus XN_C_DECL xnOSGetTimeStamp(XnUInt64* nTimeStamp); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:528:29: error: expected initializer before 'xnOSStartHighResTimer' 528 | XN_C_API XnStatus XN_C_DECL xnOSStartHighResTimer(XnOSTimer* pTimer); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:463:29: error: expected initializer before 'xnOSGetFullPathName' 463 | XN_C_API XnStatus XN_C_DECL xnOSGetFullPathName(const XnChar* strFilePath, XnChar* strFullPath, XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:529:29: error: expected initializer before 'xnOSQueryTimer' 529 | XN_C_API XnStatus XN_C_DECL xnOSQueryTimer(XnOSTimer Timer, XnUInt64* pnTimeSinceStart); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:525:29: error: expected initializer before 'xnOSGetHighResTimeStamp' 525 | XN_C_API XnStatus XN_C_DECL xnOSGetHighResTimeStamp(XnUInt64* nTimeStamp); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:464:29: error: expected initializer before 'xnOSGetCurrentDir' 464 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentDir(XnChar* cpDirName, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:530:29: error: expected initializer before 'xnOSStopTimer' 530 | XN_C_API XnStatus XN_C_DECL xnOSStopTimer(XnOSTimer* pTimer); | ^~~~~~~~~~~~~ ../Include/XnOS.h:526:29: error: expected initializer before 'xnOSSleep' 526 | XN_C_API XnStatus XN_C_DECL xnOSSleep(XnUInt32 nMilliseconds); | ^~~~~~~~~ ../Include/XnOS.h:465:29: error: expected initializer before 'xnOSSetCurrentDir' 465 | XN_C_API XnStatus XN_C_DECL xnOSSetCurrentDir(const XnChar* cpDirName); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:531:29: error: expected initializer before 'xnOSGetMonoTime' 531 | XN_C_API XnStatus XN_C_DECL xnOSGetMonoTime(struct timespec* pTime); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:527:29: error: expected initializer before 'xnOSStartTimer' 527 | XN_C_API XnStatus XN_C_DECL xnOSStartTimer(XnOSTimer* pTimer); | ^~~~~~~~~~~~~~ ../Include/XnMemory.h:32:26: error: expected initializer before 'xnOSRealloc' 32 | XN_C_API void* XN_C_DECL xnOSRealloc(void* pMemory, const XnSizeT nAllocSize); | ^~~~~~~~~~~ ../Include/XnOS.h:474:29: error: expected initializer before 'xnOSStripDirSep' 474 | XN_C_API XnStatus XN_C_DECL xnOSStripDirSep(XnChar* strDirName); | ^~~~~~~~~~~~~~~ ../Include/XnMemory.h:33:26: error: expected initializer before 'xnOSReallocAligned' 33 | XN_C_API void* XN_C_DECL xnOSReallocAligned(void* pMemory, const XnSizeT nAllocSize, const XnSizeT nAlignment); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:532:29: error: expected initializer before 'xnOSGetTimeout' 532 | XN_C_API XnStatus XN_C_DECL xnOSGetTimeout(struct timespec* pTime, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~ ../Include/XnMemory.h:34:26: error: expected initializer before 'xnOSRecalloc' 34 | XN_C_API void* XN_C_DECL xnOSRecalloc(void* pMemory, const XnSizeT nAllocNum, const XnSizeT nAllocSize); | ^~~~~~~~~~~~ ../Include/XnMemory.h:35:25: error: expected initializer before 'xnOSFree' 35 | XN_C_API void XN_C_DECL xnOSFree(const void* pMemBlock); | ^~~~~~~~ ../Include/XnOS.h:528:29: error: expected initializer before 'xnOSStartHighResTimer' 528 | XN_C_API XnStatus XN_C_DECL xnOSStartHighResTimer(XnOSTimer* pTimer); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:36:25: error: expected initializer before 'xnOSFreeAligned' 36 | XN_C_API void XN_C_DECL xnOSFreeAligned(const void* pMemBlock); | ^~~~~~~~~~~~~~~ ../Include/XnMemory.h:37:25: error: expected initializer before 'xnOSMemCopy' 37 | XN_C_API void XN_C_DECL xnOSMemCopy(void* pDest, const void* pSource, XnSizeT nCount); | ^~~~~~~~~~~ ../Include/XnOS.h:533:29: error: expected initializer before 'xnOSGetAbsTimeout' 533 | XN_C_API XnStatus XN_C_DECL xnOSGetAbsTimeout(struct timespec* pTime, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:529:29: error: expected initializer before 'xnOSQueryTimer' 529 | XN_C_API XnStatus XN_C_DECL xnOSQueryTimer(XnOSTimer Timer, XnUInt64* pnTimeSinceStart); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:478:10: error: 'XnBool' does not name a type; did you mean 'bool'? 478 | XN_C_API XnBool XN_C_DECL xnOSIsDirSep(XnChar c); | ^~~~~~ | bool ../Include/XnOS.h:530:29: error: expected initializer before 'xnOSStopTimer' 530 | XN_C_API XnStatus XN_C_DECL xnOSStopTimer(XnOSTimer* pTimer); | ^~~~~~~~~~~~~ ../Include/XnOS.h:544:29: error: expected initializer before 'xnOSCreateThread' 544 | XN_C_API XnStatus XN_C_DECL xnOSCreateThread(XN_THREAD_PROC_PROTO pThreadProc, const XN_THREAD_PARAM pThreadParam, XN_THREAD_HANDLE* pThreadHandle); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:531:29: error: expected initializer before 'xnOSGetMonoTime' 531 | XN_C_API XnStatus XN_C_DECL xnOSGetMonoTime(struct timespec* pTime); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:545:29: error: expected initializer before 'xnOSTerminateThread' 545 | XN_C_API XnStatus XN_C_DECL xnOSTerminateThread(XN_THREAD_HANDLE* pThreadHandle); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:532:29: error: expected initializer before 'xnOSGetTimeout' 532 | XN_C_API XnStatus XN_C_DECL xnOSGetTimeout(struct timespec* pTime, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:546:29: error: expected initializer before 'xnOSCloseThread' 546 | XN_C_API XnStatus XN_C_DECL xnOSCloseThread(XN_THREAD_HANDLE* pThreadHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:533:29: error: expected initializer before 'xnOSGetAbsTimeout' 533 | XN_C_API XnStatus XN_C_DECL xnOSGetAbsTimeout(struct timespec* pTime, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:547:29: error: expected initializer before 'xnOSWaitForThreadExit' 547 | XN_C_API XnStatus XN_C_DECL xnOSWaitForThreadExit(XN_THREAD_HANDLE ThreadHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:548:29: error: expected initializer before 'xnOSSetThreadPriority' 548 | XN_C_API XnStatus XN_C_DECL xnOSSetThreadPriority(XN_THREAD_HANDLE ThreadHandle, XnThreadPriority nPriority); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:544:29: error: expected initializer before 'xnOSCreateThread' 544 | XN_C_API XnStatus XN_C_DECL xnOSCreateThread(XN_THREAD_PROC_PROTO pThreadProc, const XN_THREAD_PARAM pThreadParam, XN_THREAD_HANDLE* pThreadHandle); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:549:29: error: expected initializer before 'xnOSGetCurrentThreadID' 549 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentThreadID(XN_THREAD_ID* pThreadID); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:545:29: error: expected initializer before 'xnOSTerminateThread' 545 | XN_C_API XnStatus XN_C_DECL xnOSTerminateThread(XN_THREAD_HANDLE* pThreadHandle); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:550:29: error: expected initializer before 'xnOSWaitAndTerminateThread' 550 | XN_C_API XnStatus XN_C_DECL xnOSWaitAndTerminateThread(XN_THREAD_HANDLE* pThreadHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:546:29: error: expected initializer before 'xnOSCloseThread' 546 | XN_C_API XnStatus XN_C_DECL xnOSCloseThread(XN_THREAD_HANDLE* pThreadHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:547:29: error: expected initializer before 'xnOSWaitForThreadExit' 547 | XN_C_API XnStatus XN_C_DECL xnOSWaitForThreadExit(XN_THREAD_HANDLE ThreadHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:548:29: error: expected initializer before 'xnOSSetThreadPriority' 548 | XN_C_API XnStatus XN_C_DECL xnOSSetThreadPriority(XN_THREAD_HANDLE ThreadHandle, XnThreadPriority nPriority); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:549:29: error: expected initializer before 'xnOSGetCurrentThreadID' 549 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentThreadID(XN_THREAD_ID* pThreadID); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:550:29: error: expected initializer before 'xnOSWaitAndTerminateThread' 550 | XN_C_API XnStatus XN_C_DECL xnOSWaitAndTerminateThread(XN_THREAD_HANDLE* pThreadHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:551:10: error: 'XnBool' does not name a type; did you mean 'bool'? 551 | XN_C_API XnBool XN_C_DECL xnOSDoesThreadExistByID(XN_THREAD_ID threadId); | ^~~~~~ | bool ../Include/XnOS.h:554:29: error: expected initializer before 'xnOSGetCurrentProcessID' 554 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentProcessID(XN_PROCESS_ID* pProcID); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:555:29: error: expected initializer before 'xnOSCreateProcess' 555 | XN_C_API XnStatus XN_C_DECL xnOSCreateProcess(const XnChar* strExecutable, XnUInt32 nArgs, const XnChar** pstrArgs, XN_PROCESS_ID* pProcID); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:558:29: error: expected initializer before 'xnOSCreateMutex' 558 | XN_C_API XnStatus XN_C_DECL xnOSCreateMutex(XN_MUTEX_HANDLE* pMutexHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:551:10: error: 'XnBool' does not name a type; did you mean 'bool'? 551 | XN_C_API XnBool XN_C_DECL xnOSDoesThreadExistByID(XN_THREAD_ID threadId); | ^~~~~~ | bool ../Include/XnOS.h:559:29: error: expected initializer before 'xnOSCreateNamedMutex' 559 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedMutex(XN_MUTEX_HANDLE* pMutexHandle, const XnChar* cpMutexName); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:560:29: error: expected initializer before 'xnOSCreateNamedMutexEx' 560 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedMutexEx(XN_MUTEX_HANDLE* pMutexHandle, const XnChar* cpMutexName, XnBool bAllowOtherUsers); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:554:29: error: expected initializer before 'xnOSGetCurrentProcessID' 554 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentProcessID(XN_PROCESS_ID* pProcID); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:561:29: error: expected initializer before 'xnOSCloseMutex' 561 | XN_C_API XnStatus XN_C_DECL xnOSCloseMutex(XN_MUTEX_HANDLE* pMutexHandle); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:555:29: error: expected initializer before 'xnOSCreateProcess' 555 | XN_C_API XnStatus XN_C_DECL xnOSCreateProcess(const XnChar* strExecutable, XnUInt32 nArgs, const XnChar** pstrArgs, XN_PROCESS_ID* pProcID); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:562:29: error: expected initializer before 'xnOSLockMutex' 562 | XN_C_API XnStatus XN_C_DECL xnOSLockMutex(const XN_MUTEX_HANDLE MutexHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~ ../Include/XnOS.h:558:29: error: expected initializer before 'xnOSCreateMutex' 558 | XN_C_API XnStatus XN_C_DECL xnOSCreateMutex(XN_MUTEX_HANDLE* pMutexHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:563:29: error: expected initializer before 'xnOSUnLockMutex' 563 | XN_C_API XnStatus XN_C_DECL xnOSUnLockMutex(const XN_MUTEX_HANDLE MutexHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:559:29: error: expected initializer before 'xnOSCreateNamedMutex' 559 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedMutex(XN_MUTEX_HANDLE* pMutexHandle, const XnChar* cpMutexName); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:566:29: error: expected initializer before 'xnOSCreateCriticalSection' 566 | XN_C_API XnStatus XN_C_DECL xnOSCreateCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:560:29: error: expected initializer before 'xnOSCreateNamedMutexEx' 560 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedMutexEx(XN_MUTEX_HANDLE* pMutexHandle, const XnChar* cpMutexName, XnBool bAllowOtherUsers); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:567:29: error: expected initializer before 'xnOSCloseCriticalSection' 567 | XN_C_API XnStatus XN_C_DECL xnOSCloseCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:561:29: error: expected initializer before 'xnOSCloseMutex' 561 | XN_C_API XnStatus XN_C_DECL xnOSCloseMutex(XN_MUTEX_HANDLE* pMutexHandle); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:568:29: error: expected initializer before 'xnOSEnterCriticalSection' 568 | XN_C_API XnStatus XN_C_DECL xnOSEnterCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:562:29: error: expected initializer before 'xnOSLockMutex' 562 | XN_C_API XnStatus XN_C_DECL xnOSLockMutex(const XN_MUTEX_HANDLE MutexHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~ ../Include/XnOS.h:563:29: error: expected initializer before 'xnOSUnLockMutex' 563 | XN_C_API XnStatus XN_C_DECL xnOSUnLockMutex(const XN_MUTEX_HANDLE MutexHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:569:29: error: expected initializer before 'xnOSLeaveCriticalSection' 569 | XN_C_API XnStatus XN_C_DECL xnOSLeaveCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:566:29: error: expected initializer before 'xnOSCreateCriticalSection' 566 | XN_C_API XnStatus XN_C_DECL xnOSCreateCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:572:29: error: expected initializer before 'xnOSCreateEvent' 572 | XN_C_API XnStatus XN_C_DECL xnOSCreateEvent(XN_EVENT_HANDLE* pEventHandle, XnBool bManualReset); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:567:29: error: expected initializer before 'xnOSCloseCriticalSection' 567 | XN_C_API XnStatus XN_C_DECL xnOSCloseCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:573:29: error: expected initializer before 'xnOSCreateNamedEvent' 573 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedEvent(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName, XnBool bManualReset); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:568:29: error: expected initializer before 'xnOSEnterCriticalSection' 568 | XN_C_API XnStatus XN_C_DECL xnOSEnterCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:574:29: error: expected initializer before 'xnOSCreateNamedEventEx' 574 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedEventEx(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName, XnBool bManualReset, XnBool bAllowOtherUsers); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:569:29: error: expected initializer before 'xnOSLeaveCriticalSection' 569 | XN_C_API XnStatus XN_C_DECL xnOSLeaveCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:575:29: error: expected initializer before 'xnOSOpenNamedEvent' 575 | XN_C_API XnStatus XN_C_DECL xnOSOpenNamedEvent(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:572:29: error: expected initializer before 'xnOSCreateEvent' 572 | XN_C_API XnStatus XN_C_DECL xnOSCreateEvent(XN_EVENT_HANDLE* pEventHandle, XnBool bManualReset); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:576:29: error: expected initializer before 'xnOSOpenNamedEventEx' 576 | XN_C_API XnStatus XN_C_DECL xnOSOpenNamedEventEx(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName, XnBool bAllowOtherUsers); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:573:29: error: expected initializer before 'xnOSCreateNamedEvent' 573 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedEvent(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName, XnBool bManualReset); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:577:29: error: expected initializer before 'xnOSCloseEvent' 577 | XN_C_API XnStatus XN_C_DECL xnOSCloseEvent(XN_EVENT_HANDLE* pEventHandle); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:574:29: error: expected initializer before 'xnOSCreateNamedEventEx' 574 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedEventEx(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName, XnBool bManualReset, XnBool bAllowOtherUsers); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:578:29: error: expected initializer before 'xnOSSetEvent' 578 | XN_C_API XnStatus XN_C_DECL xnOSSetEvent(const XN_EVENT_HANDLE EventHandle); | ^~~~~~~~~~~~ ../Include/XnOS.h:575:29: error: expected initializer before 'xnOSOpenNamedEvent' 575 | XN_C_API XnStatus XN_C_DECL xnOSOpenNamedEvent(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:579:29: error: expected initializer before 'xnOSResetEvent' 579 | XN_C_API XnStatus XN_C_DECL xnOSResetEvent(const XN_EVENT_HANDLE EventHandle); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:576:29: error: expected initializer before 'xnOSOpenNamedEventEx' 576 | XN_C_API XnStatus XN_C_DECL xnOSOpenNamedEventEx(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName, XnBool bAllowOtherUsers); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:580:29: error: expected initializer before 'xnOSWaitEvent' 580 | XN_C_API XnStatus XN_C_DECL xnOSWaitEvent(const XN_EVENT_HANDLE EventHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~ ../Include/XnOS.h:577:29: error: expected initializer before 'xnOSCloseEvent' 577 | XN_C_API XnStatus XN_C_DECL xnOSCloseEvent(XN_EVENT_HANDLE* pEventHandle); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:578:29: error: expected initializer before 'xnOSSetEvent' 578 | XN_C_API XnStatus XN_C_DECL xnOSSetEvent(const XN_EVENT_HANDLE EventHandle); | ^~~~~~~~~~~~ ../Include/XnOS.h:579:29: error: expected initializer before 'xnOSResetEvent' 579 | XN_C_API XnStatus XN_C_DECL xnOSResetEvent(const XN_EVENT_HANDLE EventHandle); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:581:10: error: 'XnBool' does not name a type; did you mean 'bool'? 581 | XN_C_API XnBool XN_C_DECL xnOSIsEventSet(const XN_EVENT_HANDLE EventHandle); | ^~~~~~ | bool ../Include/XnOS.h:580:29: error: expected initializer before 'xnOSWaitEvent' 580 | XN_C_API XnStatus XN_C_DECL xnOSWaitEvent(const XN_EVENT_HANDLE EventHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~ ../Include/XnOS.h:584:29: error: expected initializer before 'xnOSCreateSemaphore' 584 | XN_C_API XnStatus XN_C_DECL xnOSCreateSemaphore(XN_SEMAPHORE_HANDLE* pSemaphoreHandle, XnUInt32 nInitialCount); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:585:29: error: expected initializer before 'xnOSLockSemaphore' 585 | XN_C_API XnStatus XN_C_DECL xnOSLockSemaphore(XN_SEMAPHORE_HANDLE hSemaphore, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:586:29: error: expected initializer before 'xnOSUnlockSemaphore' 586 | XN_C_API XnStatus XN_C_DECL xnOSUnlockSemaphore(XN_SEMAPHORE_HANDLE hSemaphore); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:581:10: error: 'XnBool' does not name a type; did you mean 'bool'? 581 | XN_C_API XnBool XN_C_DECL xnOSIsEventSet(const XN_EVENT_HANDLE EventHandle); | ^~~~~~ | bool ../Include/XnOS.h:587:29: error: expected initializer before 'xnOSCloseSemaphore' 587 | XN_C_API XnStatus XN_C_DECL xnOSCloseSemaphore(XN_SEMAPHORE_HANDLE* pSemaphoreHandle); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:584:29: error: expected initializer before 'xnOSCreateSemaphore' 584 | XN_C_API XnStatus XN_C_DECL xnOSCreateSemaphore(XN_SEMAPHORE_HANDLE* pSemaphoreHandle, XnUInt32 nInitialCount); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:597:29: error: expected initializer before 'xnOSWaitForCondition' 597 | XN_C_API XnStatus XN_C_DECL xnOSWaitForCondition(const XN_EVENT_HANDLE EventHandle, XnUInt32 nMilliseconds, XnConditionFunc pConditionFunc, void* pConditionData); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:585:29: error: expected initializer before 'xnOSLockSemaphore' 585 | XN_C_API XnStatus XN_C_DECL xnOSLockSemaphore(XN_SEMAPHORE_HANDLE hSemaphore, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:605:29: error: expected initializer before 'xnOSInitNetwork' 605 | XN_C_API XnStatus XN_C_DECL xnOSInitNetwork(); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:586:29: error: expected initializer before 'xnOSUnlockSemaphore' 586 | XN_C_API XnStatus XN_C_DECL xnOSUnlockSemaphore(XN_SEMAPHORE_HANDLE hSemaphore); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:606:29: error: expected initializer before 'xnOSShutdownNetwork' 606 | XN_C_API XnStatus XN_C_DECL xnOSShutdownNetwork(); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:587:29: error: expected initializer before 'xnOSCloseSemaphore' 587 | XN_C_API XnStatus XN_C_DECL xnOSCloseSemaphore(XN_SEMAPHORE_HANDLE* pSemaphoreHandle); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:607:29: error: expected initializer before 'xnOSCreateSocket' 607 | XN_C_API XnStatus XN_C_DECL xnOSCreateSocket(const XnOSSocketType SocketType, const XnChar* cpIPAddress, const XnUInt16 nPort, XN_SOCKET_HANDLE* SocketPtr); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:597:29: error: expected initializer before 'xnOSWaitForCondition' 597 | XN_C_API XnStatus XN_C_DECL xnOSWaitForCondition(const XN_EVENT_HANDLE EventHandle, XnUInt32 nMilliseconds, XnConditionFunc pConditionFunc, void* pConditionData); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:608:29: error: expected initializer before 'xnOSCloseSocket' 608 | XN_C_API XnStatus XN_C_DECL xnOSCloseSocket(XN_SOCKET_HANDLE Socket); | ^~~~~~~~~~~~~~~ ../Include/XnMemory.h:38:10: error: 'XnInt32' does not name a type 38 | XN_C_API XnInt32 XN_C_DECL xnOSMemCmp(const void *pBuf1, const void *pBuf2, XnSizeT nCount); | ^~~~~~~ ../Include/XnOS.h:605:29: error: expected initializer before 'xnOSInitNetwork' 605 | XN_C_API XnStatus XN_C_DECL xnOSInitNetwork(); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:488:29: error: expected initializer before 'xnOSAppendFilePath' 488 | XN_C_API XnStatus XN_C_DECL xnOSAppendFilePath(XnChar* strDestPath, const XnChar* strPathComponentToAppend, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:39:25: error: expected initializer before 'xnOSMemSet' 39 | XN_C_API void XN_C_DECL xnOSMemSet(void* pDest, XnUInt8 nValue, XnSizeT nCount); | ^~~~~~~~~~ ../Include/XnMemory.h:40:25: error: expected initializer before 'xnOSMemMove' 40 | XN_C_API void XN_C_DECL xnOSMemMove(void* pDest, const void* pSource, XnSizeT nCount); | ^~~~~~~~~~~ ../Include/XnOS.h:606:29: error: expected initializer before 'xnOSShutdownNetwork' 606 | XN_C_API XnStatus XN_C_DECL xnOSShutdownNetwork(); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:607:29: error: expected initializer before 'xnOSCreateSocket' 607 | XN_C_API XnStatus XN_C_DECL xnOSCreateSocket(const XnOSSocketType SocketType, const XnChar* cpIPAddress, const XnUInt16 nPort, XN_SOCKET_HANDLE* SocketPtr); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:608:29: error: expected initializer before 'xnOSCloseSocket' 608 | XN_C_API XnStatus XN_C_DECL xnOSCloseSocket(XN_SOCKET_HANDLE Socket); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:609:29: error: expected initializer before 'xnOSBindSocket' 609 | XN_C_API XnStatus XN_C_DECL xnOSBindSocket(XN_SOCKET_HANDLE Socket); | ^~~~~~~~~~~~~~ ../Include/XnMemory.h:41:10: error: 'XnUInt64' does not name a type 41 | XN_C_API XnUInt64 XN_C_DECL xnOSEndianSwapUINT64(XnUInt64 nValue); | ^~~~~~~~ ../Include/XnOS.h:492:10: error: 'XnBool' does not name a type; did you mean 'bool'? 492 | XN_C_API XnBool XN_C_DECL xnOSIsAbsoluteFilePath(const XnChar* strFilePath); | ^~~~~~ | bool ../Include/XnOS.h:610:29: error: expected initializer before 'xnOSListenSocket' 610 | XN_C_API XnStatus XN_C_DECL xnOSListenSocket(XN_SOCKET_HANDLE Socket); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:493:29: error: expected initializer before 'xnOSDeleteFile' 493 | XN_C_API XnStatus XN_C_DECL xnOSDeleteFile(const XnChar* cpFileName); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:611:29: error: expected initializer before 'xnOSAcceptSocket' 611 | XN_C_API XnStatus XN_C_DECL xnOSAcceptSocket(XN_SOCKET_HANDLE ListenSocket, XN_SOCKET_HANDLE* AcceptSocketPtr, XnUInt32 nMillisecsTimeout); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:494:29: error: expected initializer before 'xnOSDeleteEmptyDirectory' 494 | XN_C_API XnStatus XN_C_DECL xnOSDeleteEmptyDirectory(const XnChar* strDirName); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:42:10: error: 'XnUInt32' does not name a type 42 | XN_C_API XnUInt32 XN_C_DECL xnOSEndianSwapUINT32(XnUInt32 nValue); | ^~~~~~~~ ../Include/XnOS.h:612:29: error: expected initializer before 'xnOSConnectSocket' 612 | XN_C_API XnStatus XN_C_DECL xnOSConnectSocket(XN_SOCKET_HANDLE Socket, XnUInt32 nMillisecsTimeout); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:495:29: error: expected initializer before 'xnOSDeleteDirectoryTree' 495 | XN_C_API XnStatus XN_C_DECL xnOSDeleteDirectoryTree(const XnChar* strDirName); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:613:29: error: expected initializer before 'xnOSSetSocketBufferSize' 613 | XN_C_API XnStatus XN_C_DECL xnOSSetSocketBufferSize(XN_SOCKET_HANDLE Socket, const XnUInt32 nSocketBufferSize); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:498:29: error: expected initializer before 'xnOSReadStringFromINI' 498 | XN_C_API XnStatus XN_C_DECL xnOSReadStringFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnChar* cpDest, const XnUInt32 nDestLength); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:43:10: error: 'XnUInt16' does not name a type 43 | XN_C_API XnUInt16 XN_C_DECL xnOSEndianSwapUINT16(XnUInt16 nValue); | ^~~~~~~~ ../Include/XnOS.h:499:29: error: expected initializer before 'xnOSReadFloatFromINI' 499 | XN_C_API XnStatus XN_C_DECL xnOSReadFloatFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnFloat* fDest); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:614:29: error: expected initializer before 'xnOSSendNetworkBuffer' 614 | XN_C_API XnStatus XN_C_DECL xnOSSendNetworkBuffer(XN_SOCKET_HANDLE Socket, const XnChar* cpBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:500:29: error: expected initializer before 'xnOSReadDoubleFromINI' 500 | XN_C_API XnStatus XN_C_DECL xnOSReadDoubleFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnDouble* fDest); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:615:29: error: expected initializer before 'xnOSSendToNetworkBuffer' 615 | XN_C_API XnStatus XN_C_DECL xnOSSendToNetworkBuffer(XN_SOCKET_HANDLE Socket, const XnChar* cpBuffer, const XnUInt32 nBufferSize, XN_SOCKET_HANDLE SocketTo); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:501:29: error: expected initializer before 'xnOSReadIntFromINI' 501 | XN_C_API XnStatus XN_C_DECL xnOSReadIntFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnInt32* nDest); | ^~~~~~~~~~~~~~~~~~ ../Include/XnMemory.h:44:10: error: 'XnFloat' does not name a type; did you mean 'float'? 44 | XN_C_API XnFloat XN_C_DECL xnOSEndianSwapFLOAT(XnFloat fValue); | ^~~~~~~ | float ../Include/XnOS.h:61:9: error: ISO C++ forbids declaration of 'XnBool' with no type [-fpermissive] 61 | typedef XnBool (XN_CALLBACK_TYPE* XnConditionFunc)(void* pConditionData); | ^~~~~~ ../Include/XnOS.h:61:9: error: typedef 'XnBool' is initialized (use 'decltype' instead) ../Include/XnOS.h:616:29: error: expected initializer before 'xnOSReceiveNetworkBuffer' 616 | XN_C_API XnStatus XN_C_DECL xnOSReceiveNetworkBuffer(XN_SOCKET_HANDLE Socket, XnChar* cpBuffer, XnUInt32* pnBufferSize, XnUInt32 nMillisecsTimeout); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:502:29: error: expected initializer before 'xnOSWriteStringToINI' 502 | XN_C_API XnStatus XN_C_DECL xnOSWriteStringToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnChar* cpSrc); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:617:29: error: expected initializer before 'xnOSReceiveFromNetworkBuffer' 617 | XN_C_API XnStatus XN_C_DECL xnOSReceiveFromNetworkBuffer(XN_SOCKET_HANDLE Socket, XnChar* cpBuffer, XnUInt32* pnBufferSize, XN_SOCKET_HANDLE* SocketFrom); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:503:29: error: expected initializer before 'xnOSWriteFloatToINI' 503 | XN_C_API XnStatus XN_C_DECL xnOSWriteFloatToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnFloat fSrc); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:504:29: error: expected initializer before 'xnOSWriteDoubleToINI' 504 | XN_C_API XnStatus XN_C_DECL xnOSWriteDoubleToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnDouble fSrc); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:630:29: error: expected initializer before 'xnOSCreateSharedMemory' 630 | XN_C_API XnStatus XN_C_DECL xnOSCreateSharedMemory(const XnChar* strName, XnUInt32 nSize, XnUInt32 nAccessFlags, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:505:29: error: expected initializer before 'xnOSWriteIntToINI' 505 | XN_C_API XnStatus XN_C_DECL xnOSWriteIntToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnInt32 nSrc); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:632:29: error: expected initializer before 'xnOSCreateSharedMemoryEx' 632 | XN_C_API XnStatus XN_C_DECL xnOSCreateSharedMemoryEx(const XnChar* strName, XnUInt32 nSize, XnUInt32 nAccessFlags, XnBool bAllowOtherUsers, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:508:29: error: expected initializer before 'xnOSLoadLibrary' 508 | XN_C_API XnStatus XN_C_DECL xnOSLoadLibrary(const XnChar* cpFileName, XN_LIB_HANDLE* pLibHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:641:29: error: expected initializer before 'xnOSOpenSharedMemory' 641 | XN_C_API XnStatus XN_C_DECL xnOSOpenSharedMemory(const XnChar* strName, XnUInt32 nAccessFlags, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:509:29: error: expected initializer before 'xnOSFreeLibrary' 509 | XN_C_API XnStatus XN_C_DECL xnOSFreeLibrary(const XN_LIB_HANDLE LibHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:510:29: error: expected initializer before 'xnOSGetProcAddress' 510 | XN_C_API XnStatus XN_C_DECL xnOSGetProcAddress(const XN_LIB_HANDLE LibHandle, const XnChar* cpProcName, XnFarProc* pProcAddr); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:643:29: error: expected initializer before 'xnOSOpenSharedMemoryEx' 643 | XN_C_API XnStatus XN_C_DECL xnOSOpenSharedMemoryEx(const XnChar* strName, XnUInt32 nAccessFlags, XnBool bAllowOtherUsers, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:518:29: error: expected initializer before 'xnOSGetModulePathForProcAddress' 518 | XN_C_API XnStatus XN_C_DECL xnOSGetModulePathForProcAddress(void* procAddr, XnChar *strModulePath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:650:29: error: expected initializer before 'xnOSCloseSharedMemory' 650 | XN_C_API XnStatus XN_C_DECL xnOSCloseSharedMemory(XN_SHARED_MEMORY_HANDLE hSharedMem); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:523:29: error: expected initializer before 'xnOSGetEpochTime' 523 | XN_C_API XnStatus XN_C_DECL xnOSGetEpochTime(XnUInt32* nEpochTime); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:658:29: error: expected initializer before 'xnOSSharedMemoryGetAddress' 658 | XN_C_API XnStatus XN_C_DECL xnOSSharedMemoryGetAddress(XN_SHARED_MEMORY_HANDLE hSharedMem, void** ppAddress); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:524:29: error: expected initializer before 'xnOSGetTimeStamp' 524 | XN_C_API XnStatus XN_C_DECL xnOSGetTimeStamp(XnUInt64* nTimeStamp); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:525:29: error: expected initializer before 'xnOSGetHighResTimeStamp' 525 | XN_C_API XnStatus XN_C_DECL xnOSGetHighResTimeStamp(XnUInt64* nTimeStamp); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:526:29: error: expected initializer before 'xnOSSleep' 526 | XN_C_API XnStatus XN_C_DECL xnOSSleep(XnUInt32 nMilliseconds); | ^~~~~~~~~ ../Include/XnOS.h:527:29: error: expected initializer before 'xnOSStartTimer' 527 | XN_C_API XnStatus XN_C_DECL xnOSStartTimer(XnOSTimer* pTimer); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:661:10: error: 'XnBool' does not name a type; did you mean 'bool'? 661 | XN_C_API XnBool XN_C_DECL xnOSWasKeyboardHit(); | ^~~~~~ | bool ../Include/XnOS.h:528:29: error: expected initializer before 'xnOSStartHighResTimer' 528 | XN_C_API XnStatus XN_C_DECL xnOSStartHighResTimer(XnOSTimer* pTimer); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:529:29: error: expected initializer before 'xnOSQueryTimer' 529 | XN_C_API XnStatus XN_C_DECL xnOSQueryTimer(XnOSTimer Timer, XnUInt64* pnTimeSinceStart); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:61:17: error: 'XN_CALLBACK_TYPE' was not declared in this scope 61 | typedef XnBool (XN_CALLBACK_TYPE* XnConditionFunc)(void* pConditionData); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:530:29: error: expected initializer before 'xnOSStopTimer' 530 | XN_C_API XnStatus XN_C_DECL xnOSStopTimer(XnOSTimer* pTimer); | ^~~~~~~~~~~~~ ../Include/XnOS.h:531:29: error: expected initializer before 'xnOSGetMonoTime' 531 | XN_C_API XnStatus XN_C_DECL xnOSGetMonoTime(struct timespec* pTime); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:662:10: error: 'XnChar' does not name a type; did you mean 'char'? 662 | XN_C_API XnChar XN_C_DECL xnOSReadCharFromInput(); | ^~~~~~ | char ../Include/XnOS.h:532:29: error: expected initializer before 'xnOSGetTimeout' 532 | XN_C_API XnStatus XN_C_DECL xnOSGetTimeout(struct timespec* pTime, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:533:29: error: expected initializer before 'xnOSGetAbsTimeout' 533 | XN_C_API XnStatus XN_C_DECL xnOSGetAbsTimeout(struct timespec* pTime, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:665:29: error: expected initializer before 'xnOSGetCurrentCallStack' 665 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentCallStack(XnInt32 nFramesToSkip, XnChar** astrFrames, XnUInt32 nMaxNameLength, XnInt32* pnFrames); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:544:29: error: expected initializer before 'xnOSCreateThread' 544 | XN_C_API XnStatus XN_C_DECL xnOSCreateThread(XN_THREAD_PROC_PROTO pThreadProc, const XN_THREAD_PARAM pThreadParam, XN_THREAD_HANDLE* pThreadHandle); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:666:29: error: expected initializer before 'xnOSPrintCurrentCallstack' 666 | XN_C_API XnStatus XN_C_DECL xnOSPrintCurrentCallstack(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:545:29: error: expected initializer before 'xnOSTerminateThread' 545 | XN_C_API XnStatus XN_C_DECL xnOSTerminateThread(XN_THREAD_HANDLE* pThreadHandle); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:546:29: error: expected initializer before 'xnOSCloseThread' 546 | XN_C_API XnStatus XN_C_DECL xnOSCloseThread(XN_THREAD_HANDLE* pThreadHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:547:29: error: expected initializer before 'xnOSWaitForThreadExit' 547 | XN_C_API XnStatus XN_C_DECL xnOSWaitForThreadExit(XN_THREAD_HANDLE ThreadHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:548:29: error: expected initializer before 'xnOSSetThreadPriority' 548 | XN_C_API XnStatus XN_C_DECL xnOSSetThreadPriority(XN_THREAD_HANDLE ThreadHandle, XnThreadPriority nPriority); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnDump.h:157:9: error: 'XN_FILE_HANDLE' does not name a type; did you mean 'XN_SOCKET_HANDLE'? 157 | XN_FILE_HANDLE hFile; | ^~~~~~~~~~~~~~ | XN_SOCKET_HANDLE ../Include/XnOS.h:549:29: error: expected initializer before 'xnOSGetCurrentThreadID' 549 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentThreadID(XN_THREAD_ID* pThreadID); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:550:29: error: expected initializer before 'xnOSWaitAndTerminateThread' 550 | XN_C_API XnStatus XN_C_DECL xnOSWaitAndTerminateThread(XN_THREAD_HANDLE* pThreadHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:61:35: error: 'XnConditionFunc' was not declared in this scope 61 | typedef XnBool (XN_CALLBACK_TYPE* XnConditionFunc)(void* pConditionData); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:551:10: error: 'XnBool' does not name a type; did you mean 'bool'? 551 | XN_C_API XnBool XN_C_DECL xnOSDoesThreadExistByID(XN_THREAD_ID threadId); | ^~~~~~ | bool ../Include/XnOS.h:67:8: error: 'XnOSTimer' does not name a type 67 | extern XnOSTimer g_xnOSHighResGlobalTimer; | ^~~~~~~~~ ../Include/XnOS.h:554:29: error: expected initializer before 'xnOSGetCurrentProcessID' 554 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentProcessID(XN_PROCESS_ID* pProcID); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:555:29: error: expected initializer before 'xnOSCreateProcess' 555 | XN_C_API XnStatus XN_C_DECL xnOSCreateProcess(const XnChar* strExecutable, XnUInt32 nArgs, const XnChar** pstrArgs, XN_PROCESS_ID* pProcID); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:313:29: error: expected initializer before 'xnOSGetInfo' 313 | XN_C_API XnStatus XN_C_DECL xnOSGetInfo(xnOSInfo* pOSInfo); | ^~~~~~~~~~~ ../Include/XnOS.h:343:26: error: expected initializer before 'xnOSLogMemAlloc' 343 | XN_C_API void* XN_C_DECL xnOSLogMemAlloc(void* pMemBlock, XnAllocationType nAllocType, XnUInt32 nBytes, const XnChar* csFunction, const XnChar* csFile, XnUInt32 nLine, const XnChar* csAdditional); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:558:29: error: expected initializer before 'xnOSCreateMutex' 558 | XN_C_API XnStatus XN_C_DECL xnOSCreateMutex(XN_MUTEX_HANDLE* pMutexHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:348:25: error: expected initializer before 'xnOSLogMemFree' 348 | XN_C_API void XN_C_DECL xnOSLogMemFree(const void* pMemBlock); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:559:29: error: expected initializer before 'xnOSCreateNamedMutex' 559 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedMutex(XN_MUTEX_HANDLE* pMutexHandle, const XnChar* cpMutexName); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:353:25: error: expected initializer before 'xnOSWriteMemoryReport' 353 | XN_C_API void XN_C_DECL xnOSWriteMemoryReport(const XnChar* csFileName); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:438:29: error: expected initializer before 'xnOSCountFiles' 438 | XN_C_API XnStatus XN_C_DECL xnOSCountFiles(const XnChar* cpSearchPattern, XnInt32* pnFoundFiles); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:560:29: error: expected initializer before 'xnOSCreateNamedMutexEx' 560 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedMutexEx(XN_MUTEX_HANDLE* pMutexHandle, const XnChar* cpMutexName, XnBool bAllowOtherUsers); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:439:29: error: expected initializer before 'xnOSGetFileList' 439 | XN_C_API XnStatus XN_C_DECL xnOSGetFileList(const XnChar* cpSearchPattern, const XnChar* cpPrefixPath, XnChar cpFileList[][XN_FILE_MAX_PATH], const XnInt32 nMaxFiles, XnInt32* pnFoundFiles); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:561:29: error: expected initializer before 'xnOSCloseMutex' 561 | XN_C_API XnStatus XN_C_DECL xnOSCloseMutex(XN_MUTEX_HANDLE* pMutexHandle); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:440:29: error: expected initializer before 'xnOSOpenFile' 440 | XN_C_API XnStatus XN_C_DECL xnOSOpenFile(const XnChar* cpFileName, const XnUInt32 nFlags, XN_FILE_HANDLE* pFile); | ^~~~~~~~~~~~ ../Include/XnOS.h:562:29: error: expected initializer before 'xnOSLockMutex' 562 | XN_C_API XnStatus XN_C_DECL xnOSLockMutex(const XN_MUTEX_HANDLE MutexHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~ ../Include/XnOS.h:441:29: error: expected initializer before 'xnOSCloseFile' 441 | XN_C_API XnStatus XN_C_DECL xnOSCloseFile(XN_FILE_HANDLE* pFile); | ^~~~~~~~~~~~~ ../Include/XnOS.h:563:29: error: expected initializer before 'xnOSUnLockMutex' 563 | XN_C_API XnStatus XN_C_DECL xnOSUnLockMutex(const XN_MUTEX_HANDLE MutexHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:442:29: error: expected initializer before 'xnOSReadFile' 442 | XN_C_API XnStatus XN_C_DECL xnOSReadFile(const XN_FILE_HANDLE File, void* pBuffer, XnUInt32* pnBufferSize); | ^~~~~~~~~~~~ ../Include/XnOS.h:566:29: error: expected initializer before 'xnOSCreateCriticalSection' 566 | XN_C_API XnStatus XN_C_DECL xnOSCreateCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:443:29: error: expected initializer before 'xnOSWriteFile' 443 | XN_C_API XnStatus XN_C_DECL xnOSWriteFile(const XN_FILE_HANDLE File, const void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~ ../Include/XnOS.h:444:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:567:29: error: expected initializer before 'xnOSCloseCriticalSection' 567 | XN_C_API XnStatus XN_C_DECL xnOSCloseCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:568:29: error: expected initializer before 'xnOSEnterCriticalSection' 568 | XN_C_API XnStatus XN_C_DECL xnOSEnterCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:444:37: error: invalid conversion from 'const char*' to 'XnStatus' {aka 'int'} [-fpermissive] 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char* ../Include/XnDump.h:160:33: error: 'XN_INVALID_FILE_HANDLE' was not declared in this scope 160 | const XnDump XN_DUMP_CLOSED = { XN_INVALID_FILE_HANDLE }; | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:569:29: error: expected initializer before 'xnOSLeaveCriticalSection' 569 | XN_C_API XnStatus XN_C_DECL xnOSLeaveCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:444:69: error: expected ',' or ';' before 'XN_C_DECL' 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~ ../Include/XnDump.h:162:15: error: variable or field 'XN_API_DEPRECATED' declared void 162 | XN_C_API void XN_API_DEPRECATED("Use xnDumpFileX methods instead") XN_C_DECL xnDumpInit(XnDump* pDump, const XnChar* csDumpMask, const XnChar* csHeader, const XnChar* csFileNameFormat, ...); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:572:29: error: expected initializer before 'xnOSCreateEvent' 572 | XN_C_API XnStatus XN_C_DECL xnOSCreateEvent(XN_EVENT_HANDLE* pEventHandle, XnBool bManualReset); | ^~~~~~~~~~~~~~~ ../Include/XnDump.h:163:15: error: variable or field 'XN_API_DEPRECATED' declared void 163 | XN_C_API void XN_API_DEPRECATED("Use xnDumpFileX methods instead") XN_C_DECL xnDumpForceInit(XnDump* pDump, const XnChar* csHeader, const XnChar* csFileNameFormat, ...); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:446:29: error: expected initializer before 'xnOSSeekFile64' 446 | XN_C_API XnStatus XN_C_DECL xnOSSeekFile64(const XN_FILE_HANDLE File, const XnOSSeekType SeekType, const XnInt64 nOffset); | ^~~~~~~~~~~~~~ ../Include/XnDump.h:164:15: error: variable or field 'XN_API_DEPRECATED' declared void 164 | XN_C_API void XN_API_DEPRECATED("Use xnDumpFileX methods instead") XN_C_DECL xnDumpClose(XnDump* pDump); | ^~~~~~~~~~~~~~~~~ ../Include/XnDump.h:165:15: error: variable or field 'XN_API_DEPRECATED' declared void 165 | XN_C_API void XN_API_DEPRECATED("Use xnDumpFileX methods instead") XN_C_DECL xnDumpWriteBufferImpl(XnDump dump, const void* pBuffer, XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~ ../Include/XnDump.h:166:15: error: variable or field 'XN_API_DEPRECATED' declared void 166 | XN_C_API void XN_API_DEPRECATED("Use xnDumpFileX methods instead") XN_C_DECL xnDumpWriteStringImpl(XnDump dump, const XnChar* csFormat, ...); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:447:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 447 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSTellFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:573:29: error: expected initializer before 'xnOSCreateNamedEvent' 573 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedEvent(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName, XnBool bManualReset); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:447:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnDump.h:167:15: error: variable or field 'XN_API_DEPRECATED' declared void 167 | XN_C_API void XN_API_DEPRECATED("Use xnDumpFileX methods instead") XN_C_DECL xnDumpFlush(XnDump dump); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:574:29: error: expected initializer before 'xnOSCreateNamedEventEx' 574 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedEventEx(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName, XnBool bManualReset, XnBool bAllowOtherUsers); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:40:49: error: expected ')' before '*' token 40 | XnDumpWriterFileHandle (XN_CALLBACK_TYPE* OpenFile)(void* pCookie, const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName); | ~ ^ | ) ../Include/XnDumpWriters.h:41:31: error: expected ')' before '*' token 41 | void (XN_CALLBACK_TYPE* Write)(void* pCookie, XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize); | ~ ^ | ) ../Include/XnDumpWriters.h:42:31: error: expected ')' before '*' token 42 | void (XN_CALLBACK_TYPE* CloseFile)(void* pCookie, XnDumpWriterFileHandle hFile); | ~ ^ | ) ../Include/XnOS.h:449:29: error: expected initializer before 'xnOSTellFile64' 449 | XN_C_API XnStatus XN_C_DECL xnOSTellFile64(const XN_FILE_HANDLE File, XnUInt64* nFilePos); | ^~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:48:29: error: expected initializer before 'xnDumpRegisterWriter' 48 | XN_C_API XnStatus XN_C_DECL xnDumpRegisterWriter(XnDumpWriter* pWriter); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:575:29: error: expected initializer before 'xnOSOpenNamedEvent' 575 | XN_C_API XnStatus XN_C_DECL xnOSOpenNamedEvent(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName); | ^~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:50:25: error: expected initializer before 'xnDumpUnregisterWriter' 50 | XN_C_API void XN_C_DECL xnDumpUnregisterWriter(XnDumpWriter* pWriter); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:52:29: error: expected initializer before 'xnDumpSetFilesOutput' 52 | XN_C_API XnStatus XN_C_DECL xnDumpSetFilesOutput(XnBool bOn); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:450:29: error: expected initializer before 'xnOSTruncateFile64' 450 | XN_C_API XnStatus XN_C_DECL xnOSTruncateFile64(const XN_FILE_HANDLE File, XnUInt64 nFilePos); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:576:29: error: expected initializer before 'xnOSOpenNamedEventEx' 576 | XN_C_API XnStatus XN_C_DECL xnOSOpenNamedEventEx(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName, XnBool bAllowOtherUsers); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:451:29: error: expected initializer before 'xnOSFlushFile' 451 | XN_C_API XnStatus XN_C_DECL xnOSFlushFile(const XN_FILE_HANDLE File); | ^~~~~~~~~~~~~ ../Include/XnOS.h:577:29: error: expected initializer before 'xnOSCloseEvent' 577 | XN_C_API XnStatus XN_C_DECL xnOSCloseEvent(XN_EVENT_HANDLE* pEventHandle); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:452:29: error: expected initializer before 'xnOSDoesFileExist' 452 | XN_C_API XnStatus XN_C_DECL xnOSDoesFileExist(const XnChar* cpFileName, XnBool* pbResult); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:578:29: error: expected initializer before 'xnOSSetEvent' 578 | XN_C_API XnStatus XN_C_DECL xnOSSetEvent(const XN_EVENT_HANDLE EventHandle); | ^~~~~~~~~~~~ ../Include/XnOS.h:453:29: error: expected initializer before 'xnOSDoesDirectoryExist' 453 | XN_C_API XnStatus XN_C_DECL xnOSDoesDirectoryExist(const XnChar* cpDirName, XnBool* pbResult); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:454:29: error: expected initializer before 'xnOSLoadFile' 454 | XN_C_API XnStatus XN_C_DECL xnOSLoadFile(const XnChar* cpFileName, void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~ ../Include/XnOS.h:579:29: error: expected initializer before 'xnOSResetEvent' 579 | XN_C_API XnStatus XN_C_DECL xnOSResetEvent(const XN_EVENT_HANDLE EventHandle); | ^~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:107:16: error: 'XnBool' does not name a type; did you mean 'bool'? 107 | inline XnBool IsRegistered() { return m_bRegistered; } | ^~~~~~ | bool ../Include/XnOS.h:455:29: error: expected initializer before 'xnOSSaveFile' 455 | XN_C_API XnStatus XN_C_DECL xnOSSaveFile(const XnChar* cpFileName, const void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~ ../Include/XnOS.h:580:29: error: expected initializer before 'xnOSWaitEvent' 580 | XN_C_API XnStatus XN_C_DECL xnOSWaitEvent(const XN_EVENT_HANDLE EventHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~ ../Include/XnOS.h:456:29: error: expected initializer before 'xnOSAppendFile' 456 | XN_C_API XnStatus XN_C_DECL xnOSAppendFile(const XnChar* cpFileName, const void* pBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:457:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 457 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSGetFileSize64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:457:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:109:55: error: 'XnChar' does not name a type; did you mean 'char'? 109 | virtual XnDumpWriterFileHandle OpenFile(const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) = 0; | ^~~~~~ | char ../Include/XnDumpWriters.h:109:76: error: 'XnBool' has not been declared 109 | virtual XnDumpWriterFileHandle OpenFile(const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) = 0; | ^~~~~~ ../Include/XnOS.h:459:29: error: expected initializer before 'xnOSGetFileSize64' 459 | XN_C_API XnStatus XN_C_DECL xnOSGetFileSize64(const XnChar* cpFileName, XnUInt64* pnFileSize); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:581:10: error: 'XnBool' does not name a type; did you mean 'bool'? 581 | XN_C_API XnBool XN_C_DECL xnOSIsEventSet(const XN_EVENT_HANDLE EventHandle); | ^~~~~~ | bool ../Include/XnOS.h:609:29: error: expected initializer before 'xnOSBindSocket' 609 | XN_C_API XnStatus XN_C_DECL xnOSBindSocket(XN_SOCKET_HANDLE Socket); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:584:29: error: expected initializer before 'xnOSCreateSemaphore' 584 | XN_C_API XnStatus XN_C_DECL xnOSCreateSemaphore(XN_SEMAPHORE_HANDLE* pSemaphoreHandle, XnUInt32 nInitialCount); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:610:29: error: expected initializer before 'xnOSListenSocket' 610 | XN_C_API XnStatus XN_C_DECL xnOSListenSocket(XN_SOCKET_HANDLE Socket); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:585:29: error: expected initializer before 'xnOSLockSemaphore' 585 | XN_C_API XnStatus XN_C_DECL xnOSLockSemaphore(XN_SEMAPHORE_HANDLE hSemaphore, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:109:103: error: 'XnChar' does not name a type; did you mean 'char'? 109 | virtual XnDumpWriterFileHandle OpenFile(const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) = 0; | ^~~~~~ | char ../Include/XnOS.h:611:29: error: expected initializer before 'xnOSAcceptSocket' 611 | XN_C_API XnStatus XN_C_DECL xnOSAcceptSocket(XN_SOCKET_HANDLE ListenSocket, XN_SOCKET_HANDLE* AcceptSocketPtr, XnUInt32 nMillisecsTimeout); | ^~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:110:79: error: 'XnUInt32' has not been declared 110 | virtual void Write(XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize) = 0; | ^~~~~~~~ ../Include/XnOS.h:586:29: error: expected initializer before 'xnOSUnlockSemaphore' 586 | XN_C_API XnStatus XN_C_DECL xnOSUnlockSemaphore(XN_SEMAPHORE_HANDLE hSemaphore); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:123:39: error: expected ';' at end of member declaration 123 | static XnDumpWriterFileHandle XN_CALLBACK_TYPE OpenFileCallback(void* pCookie, const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) | ^~~~~~~~~~~~~~~~ | ; ../Include/XnOS.h:612:29: error: expected initializer before 'xnOSConnectSocket' 612 | XN_C_API XnStatus XN_C_DECL xnOSConnectSocket(XN_SOCKET_HANDLE Socket, XnUInt32 nMillisecsTimeout); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:587:29: error: expected initializer before 'xnOSCloseSemaphore' 587 | XN_C_API XnStatus XN_C_DECL xnOSCloseSemaphore(XN_SEMAPHORE_HANDLE* pSemaphoreHandle); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:613:29: error: expected initializer before 'xnOSSetSocketBufferSize' 613 | XN_C_API XnStatus XN_C_DECL xnOSSetSocketBufferSize(XN_SOCKET_HANDLE Socket, const XnUInt32 nSocketBufferSize); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:597:29: error: expected initializer before 'xnOSWaitForCondition' 597 | XN_C_API XnStatus XN_C_DECL xnOSWaitForCondition(const XN_EVENT_HANDLE EventHandle, XnUInt32 nMilliseconds, XnConditionFunc pConditionFunc, void* pConditionData); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:614:29: error: expected initializer before 'xnOSSendNetworkBuffer' 614 | XN_C_API XnStatus XN_C_DECL xnOSSendNetworkBuffer(XN_SOCKET_HANDLE Socket, const XnChar* cpBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:605:29: error: expected initializer before 'xnOSInitNetwork' 605 | XN_C_API XnStatus XN_C_DECL xnOSInitNetwork(); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:615:29: error: expected initializer before 'xnOSSendToNetworkBuffer' 615 | XN_C_API XnStatus XN_C_DECL xnOSSendToNetworkBuffer(XN_SOCKET_HANDLE Socket, const XnChar* cpBuffer, const XnUInt32 nBufferSize, XN_SOCKET_HANDLE SocketTo); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:606:29: error: expected initializer before 'xnOSShutdownNetwork' 606 | XN_C_API XnStatus XN_C_DECL xnOSShutdownNetwork(); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:616:29: error: expected initializer before 'xnOSReceiveNetworkBuffer' 616 | XN_C_API XnStatus XN_C_DECL xnOSReceiveNetworkBuffer(XN_SOCKET_HANDLE Socket, XnChar* cpBuffer, XnUInt32* pnBufferSize, XnUInt32 nMillisecsTimeout); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:607:29: error: expected initializer before 'xnOSCreateSocket' 607 | XN_C_API XnStatus XN_C_DECL xnOSCreateSocket(const XnOSSocketType SocketType, const XnChar* cpIPAddress, const XnUInt16 nPort, XN_SOCKET_HANDLE* SocketPtr); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:617:29: error: expected initializer before 'xnOSReceiveFromNetworkBuffer' 617 | XN_C_API XnStatus XN_C_DECL xnOSReceiveFromNetworkBuffer(XN_SOCKET_HANDLE Socket, XnChar* cpBuffer, XnUInt32* pnBufferSize, XN_SOCKET_HANDLE* SocketFrom); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:608:29: error: expected initializer before 'xnOSCloseSocket' 608 | XN_C_API XnStatus XN_C_DECL xnOSCloseSocket(XN_SOCKET_HANDLE Socket); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:460:29: error: expected initializer before 'xnOSCreateDirectory' 460 | XN_C_API XnStatus XN_C_DECL xnOSCreateDirectory(const XnChar* cpDirName); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:630:29: error: expected initializer before 'xnOSCreateSharedMemory' 630 | XN_C_API XnStatus XN_C_DECL xnOSCreateSharedMemory(const XnChar* strName, XnUInt32 nSize, XnUInt32 nAccessFlags, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:609:29: error: expected initializer before 'xnOSBindSocket' 609 | XN_C_API XnStatus XN_C_DECL xnOSBindSocket(XN_SOCKET_HANDLE Socket); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:461:29: error: expected initializer before 'xnOSGetDirName' 461 | XN_C_API XnStatus XN_C_DECL xnOSGetDirName(const XnChar* cpFilePath, XnChar* cpDirName, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:632:29: error: expected initializer before 'xnOSCreateSharedMemoryEx' 632 | XN_C_API XnStatus XN_C_DECL xnOSCreateSharedMemoryEx(const XnChar* strName, XnUInt32 nSize, XnUInt32 nAccessFlags, XnBool bAllowOtherUsers, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:610:29: error: expected initializer before 'xnOSListenSocket' 610 | XN_C_API XnStatus XN_C_DECL xnOSListenSocket(XN_SOCKET_HANDLE Socket); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:462:29: error: expected initializer before 'xnOSGetFileName' 462 | XN_C_API XnStatus XN_C_DECL xnOSGetFileName(const XnChar* cpFilePath, XnChar* cpFileName, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:641:29: error: expected initializer before 'xnOSOpenSharedMemory' 641 | XN_C_API XnStatus XN_C_DECL xnOSOpenSharedMemory(const XnChar* strName, XnUInt32 nAccessFlags, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:463:29: error: expected initializer before 'xnOSGetFullPathName' 463 | XN_C_API XnStatus XN_C_DECL xnOSGetFullPathName(const XnChar* strFilePath, XnChar* strFullPath, XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:611:29: error: expected initializer before 'xnOSAcceptSocket' 611 | XN_C_API XnStatus XN_C_DECL xnOSAcceptSocket(XN_SOCKET_HANDLE ListenSocket, XN_SOCKET_HANDLE* AcceptSocketPtr, XnUInt32 nMillisecsTimeout); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:643:29: error: expected initializer before 'xnOSOpenSharedMemoryEx' 643 | XN_C_API XnStatus XN_C_DECL xnOSOpenSharedMemoryEx(const XnChar* strName, XnUInt32 nAccessFlags, XnBool bAllowOtherUsers, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:464:29: error: expected initializer before 'xnOSGetCurrentDir' 464 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentDir(XnChar* cpDirName, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:612:29: error: expected initializer before 'xnOSConnectSocket' 612 | XN_C_API XnStatus XN_C_DECL xnOSConnectSocket(XN_SOCKET_HANDLE Socket, XnUInt32 nMillisecsTimeout); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:465:29: error: expected initializer before 'xnOSSetCurrentDir' 465 | XN_C_API XnStatus XN_C_DECL xnOSSetCurrentDir(const XnChar* cpDirName); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:650:29: error: expected initializer before 'xnOSCloseSharedMemory' 650 | XN_C_API XnStatus XN_C_DECL xnOSCloseSharedMemory(XN_SHARED_MEMORY_HANDLE hSharedMem); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:613:29: error: expected initializer before 'xnOSSetSocketBufferSize' 613 | XN_C_API XnStatus XN_C_DECL xnOSSetSocketBufferSize(XN_SOCKET_HANDLE Socket, const XnUInt32 nSocketBufferSize); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:474:29: error: expected initializer before 'xnOSStripDirSep' 474 | XN_C_API XnStatus XN_C_DECL xnOSStripDirSep(XnChar* strDirName); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:658:29: error: expected initializer before 'xnOSSharedMemoryGetAddress' 658 | XN_C_API XnStatus XN_C_DECL xnOSSharedMemoryGetAddress(XN_SHARED_MEMORY_HANDLE hSharedMem, void** ppAddress); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:614:29: error: expected initializer before 'xnOSSendNetworkBuffer' 614 | XN_C_API XnStatus XN_C_DECL xnOSSendNetworkBuffer(XN_SOCKET_HANDLE Socket, const XnChar* cpBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:615:29: error: expected initializer before 'xnOSSendToNetworkBuffer' 615 | XN_C_API XnStatus XN_C_DECL xnOSSendToNetworkBuffer(XN_SOCKET_HANDLE Socket, const XnChar* cpBuffer, const XnUInt32 nBufferSize, XN_SOCKET_HANDLE SocketTo); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:616:29: error: expected initializer before 'xnOSReceiveNetworkBuffer' 616 | XN_C_API XnStatus XN_C_DECL xnOSReceiveNetworkBuffer(XN_SOCKET_HANDLE Socket, XnChar* cpBuffer, XnUInt32* pnBufferSize, XnUInt32 nMillisecsTimeout); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:617:29: error: expected initializer before 'xnOSReceiveFromNetworkBuffer' 617 | XN_C_API XnStatus XN_C_DECL xnOSReceiveFromNetworkBuffer(XN_SOCKET_HANDLE Socket, XnChar* cpBuffer, XnUInt32* pnBufferSize, XN_SOCKET_HANDLE* SocketFrom); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:478:10: error: 'XnBool' does not name a type; did you mean 'bool'? 478 | XN_C_API XnBool XN_C_DECL xnOSIsDirSep(XnChar c); | ^~~~~~ | bool ../Include/XnOS.h:661:10: error: 'XnBool' does not name a type; did you mean 'bool'? 661 | XN_C_API XnBool XN_C_DECL xnOSWasKeyboardHit(); | ^~~~~~ | bool ../Include/XnOS.h:488:29: error: expected initializer before 'xnOSAppendFilePath' 488 | XN_C_API XnStatus XN_C_DECL xnOSAppendFilePath(XnChar* strDestPath, const XnChar* strPathComponentToAppend, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:630:29: error: expected initializer before 'xnOSCreateSharedMemory' 630 | XN_C_API XnStatus XN_C_DECL xnOSCreateSharedMemory(const XnChar* strName, XnUInt32 nSize, XnUInt32 nAccessFlags, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:632:29: error: expected initializer before 'xnOSCreateSharedMemoryEx' 632 | XN_C_API XnStatus XN_C_DECL xnOSCreateSharedMemoryEx(const XnChar* strName, XnUInt32 nSize, XnUInt32 nAccessFlags, XnBool bAllowOtherUsers, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:641:29: error: expected initializer before 'xnOSOpenSharedMemory' 641 | XN_C_API XnStatus XN_C_DECL xnOSOpenSharedMemory(const XnChar* strName, XnUInt32 nAccessFlags, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:492:10: error: 'XnBool' does not name a type; did you mean 'bool'? 492 | XN_C_API XnBool XN_C_DECL xnOSIsAbsoluteFilePath(const XnChar* strFilePath); | ^~~~~~ | bool ../Include/XnOS.h:643:29: error: expected initializer before 'xnOSOpenSharedMemoryEx' 643 | XN_C_API XnStatus XN_C_DECL xnOSOpenSharedMemoryEx(const XnChar* strName, XnUInt32 nAccessFlags, XnBool bAllowOtherUsers, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:662:10: error: 'XnChar' does not name a type; did you mean 'char'? 662 | XN_C_API XnChar XN_C_DECL xnOSReadCharFromInput(); | ^~~~~~ | char ../Include/XnOS.h:493:29: error: expected initializer before 'xnOSDeleteFile' 493 | XN_C_API XnStatus XN_C_DECL xnOSDeleteFile(const XnChar* cpFileName); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:650:29: error: expected initializer before 'xnOSCloseSharedMemory' 650 | XN_C_API XnStatus XN_C_DECL xnOSCloseSharedMemory(XN_SHARED_MEMORY_HANDLE hSharedMem); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:123:94: error: 'XnChar' does not name a type; did you mean 'char'? 123 | static XnDumpWriterFileHandle XN_CALLBACK_TYPE OpenFileCallback(void* pCookie, const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) | ^~~~~~ | char ../Include/XnOS.h:665:29: error: expected initializer before 'xnOSGetCurrentCallStack' 665 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentCallStack(XnInt32 nFramesToSkip, XnChar** astrFrames, XnUInt32 nMaxNameLength, XnInt32* pnFrames); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:494:29: error: expected initializer before 'xnOSDeleteEmptyDirectory' 494 | XN_C_API XnStatus XN_C_DECL xnOSDeleteEmptyDirectory(const XnChar* strDirName); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:123:115: error: 'XnBool' has not been declared 123 | static XnDumpWriterFileHandle XN_CALLBACK_TYPE OpenFileCallback(void* pCookie, const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) | ^~~~~~ ../Include/XnOS.h:495:29: error: expected initializer before 'xnOSDeleteDirectoryTree' 495 | XN_C_API XnStatus XN_C_DECL xnOSDeleteDirectoryTree(const XnChar* strDirName); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:666:29: error: expected initializer before 'xnOSPrintCurrentCallstack' 666 | XN_C_API XnStatus XN_C_DECL xnOSPrintCurrentCallstack(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:498:29: error: expected initializer before 'xnOSReadStringFromINI' 498 | XN_C_API XnStatus XN_C_DECL xnOSReadStringFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnChar* cpDest, const XnUInt32 nDestLength); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:499:29: error: expected initializer before 'xnOSReadFloatFromINI' 499 | XN_C_API XnStatus XN_C_DECL xnOSReadFloatFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnFloat* fDest); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:500:29: error: expected initializer before 'xnOSReadDoubleFromINI' 500 | XN_C_API XnStatus XN_C_DECL xnOSReadDoubleFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnDouble* fDest); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../Include/XnHash.h:24: ../Include/XnList.h: In constructor 'xnl::LinkedListNode::LinkedListNode()': ../Include/XnList.h:31:34: error: 'NULL' was not declared in this scope 31 | LinkedListNode() : pPrev(NULL), pNext(NULL) {} | ^~~~ ../Include/XnList.h:1:1: note: 'NULL' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | /***************************************************************************** ../Include/XnDumpWriters.h:123:142: error: 'XnChar' does not name a type; did you mean 'char'? 123 | static XnDumpWriterFileHandle XN_CALLBACK_TYPE OpenFileCallback(void* pCookie, const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) | ^~~~~~ | char ../Include/XnOS.h:501:29: error: expected initializer before 'xnOSReadIntFromINI' 501 | XN_C_API XnStatus XN_C_DECL xnOSReadIntFromINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, XnInt32* nDest); | ^~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:123:56: error: ISO C++ forbids declaration of 'OpenFileCallback' with no type [-fpermissive] 123 | static XnDumpWriterFileHandle XN_CALLBACK_TYPE OpenFileCallback(void* pCookie, const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) | ^~~~~~~~~~~~~~~~ ../Include/XnList.h: In constructor 'xnl::LinkedListNode::LinkedListNode(const T&)': ../Include/XnList.h:32:48: error: 'NULL' was not declared in this scope 32 | LinkedListNode(const T& value) : pPrev(NULL), pNext(NULL), value(value) {} | ^~~~ ../Include/XnList.h:32:48: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnDumpWriters.h:129:21: error: variable or field 'XN_CALLBACK_TYPE' declared void 129 | static void XN_CALLBACK_TYPE WriteCallback(void* pCookie, XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize) | ^~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:129:21: error: expected ';' at end of member declaration 129 | static void XN_CALLBACK_TYPE WriteCallback(void* pCookie, XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize) | ^~~~~~~~~~~~~~~~ | ; ../Include/XnOS.h:502:29: error: expected initializer before 'xnOSWriteStringToINI' 502 | XN_C_API XnStatus XN_C_DECL xnOSWriteStringToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnChar* cpSrc); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:129:118: error: 'XnUInt32' has not been declared 129 | static void XN_CALLBACK_TYPE WriteCallback(void* pCookie, XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize) | ^~~~~~~~ ../Include/XnDumpWriters.h:129:38: error: ISO C++ forbids declaration of 'WriteCallback' with no type [-fpermissive] 129 | static void XN_CALLBACK_TYPE WriteCallback(void* pCookie, XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize) | ^~~~~~~~~~~~~ ../Include/XnDumpWriters.h:135:21: error: variable or field 'XN_CALLBACK_TYPE' declared void 135 | static void XN_CALLBACK_TYPE CloseFileCallback(void* pCookie, XnDumpWriterFileHandle hFile) | ^~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:135:21: error: expected ';' at end of member declaration 135 | static void XN_CALLBACK_TYPE CloseFileCallback(void* pCookie, XnDumpWriterFileHandle hFile) | ^~~~~~~~~~~~~~~~ | ; ../Include/XnOS.h:503:29: error: expected initializer before 'xnOSWriteFloatToINI' 503 | XN_C_API XnStatus XN_C_DECL xnOSWriteFloatToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnFloat fSrc); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:135:38: error: ISO C++ forbids declaration of 'CloseFileCallback' with no type [-fpermissive] 135 | static void XN_CALLBACK_TYPE CloseFileCallback(void* pCookie, XnDumpWriterFileHandle hFile) | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:504:29: error: expected initializer before 'xnOSWriteDoubleToINI' 504 | XN_C_API XnStatus XN_C_DECL xnOSWriteDoubleToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnDouble fSrc); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:505:29: error: expected initializer before 'xnOSWriteIntToINI' 505 | XN_C_API XnStatus XN_C_DECL xnOSWriteIntToINI(const XnChar* cpINIFile, const XnChar* cpSection, const XnChar* cpKey, const XnInt32 nSrc); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:508:29: error: expected initializer before 'xnOSLoadLibrary' 508 | XN_C_API XnStatus XN_C_DECL xnOSLoadLibrary(const XnChar* cpFileName, XN_LIB_HANDLE* pLibHandle); | ^~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:142:9: error: 'XnBool' does not name a type; did you mean 'bool'? 142 | XnBool m_bRegistered; | ^~~~~~ | bool ../Include/XnOS.h:509:29: error: expected initializer before 'xnOSFreeLibrary' 509 | XN_C_API XnStatus XN_C_DECL xnOSFreeLibrary(const XN_LIB_HANDLE LibHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:510:29: error: expected initializer before 'xnOSGetProcAddress' 510 | XN_C_API XnStatus XN_C_DECL xnOSGetProcAddress(const XN_LIB_HANDLE LibHandle, const XnChar* cpProcName, XnFarProc* pProcAddr); | ^~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h: In constructor 'XnDumpWriterBase::XnDumpWriterBase()': ../Include/XnDumpWriters.h:62:30: error: class 'XnDumpWriterBase' does not have any field named 'm_bRegistered' 62 | XnDumpWriterBase() : m_bRegistered(FALSE) | ^~~~~~~~~~~~~ ../Include/XnOS.h:518:29: error: expected initializer before 'xnOSGetModulePathForProcAddress' 518 | XN_C_API XnStatus XN_C_DECL xnOSGetModulePathForProcAddress(void* procAddr, XnChar *strModulePath); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:65:27: error: 'XnDumpWriter' {aka 'struct XnDumpWriter'} has no member named 'OpenFile' 65 | m_cObject.OpenFile = OpenFileCallback; | ^~~~~~~~ ../Include/XnOS.h:523:29: error: expected initializer before 'xnOSGetEpochTime' 523 | XN_C_API XnStatus XN_C_DECL xnOSGetEpochTime(XnUInt32* nEpochTime); | ^~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:66:27: error: 'XnDumpWriter' {aka 'struct XnDumpWriter'} has no member named 'Write' 66 | m_cObject.Write = WriteCallback; | ^~~~~ ../Include/XnDumpWriters.h:67:27: error: 'XnDumpWriter' {aka 'struct XnDumpWriter'} has no member named 'CloseFile' 67 | m_cObject.CloseFile = CloseFileCallback; | ^~~~~~~~~ ../Include/XnOS.h:524:29: error: expected initializer before 'xnOSGetTimeStamp' 524 | XN_C_API XnStatus XN_C_DECL xnOSGetTimeStamp(XnUInt64* nTimeStamp); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:525:29: error: expected initializer before 'xnOSGetHighResTimeStamp' 525 | XN_C_API XnStatus XN_C_DECL xnOSGetHighResTimeStamp(XnUInt64* nTimeStamp); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:526:29: error: expected initializer before 'xnOSSleep' 526 | XN_C_API XnStatus XN_C_DECL xnOSSleep(XnUInt32 nMilliseconds); | ^~~~~~~~~ ../Include/XnList.h: At global scope: ../Include/XnList.h:321:9: error: 'XnUInt32' does not name a type 321 | XnUInt32 m_nSize; | ^~~~~~~~ ../Include/XnOS.h:527:29: error: expected initializer before 'xnOSStartTimer' 527 | XN_C_API XnStatus XN_C_DECL xnOSStartTimer(XnOSTimer* pTimer); | ^~~~~~~~~~~~~~ ../Include/XnList.h: In constructor 'xnl::List::ConstIterator::ConstIterator()': ../Include/XnList.h:66:53: error: 'NULL' was not declared in this scope 66 | inline ConstIterator() : m_pCurrent(NULL) {} | ^~~~ ../Include/XnList.h:66:53: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnOS.h:528:29: error: expected initializer before 'xnOSStartHighResTimer' 528 | XN_C_API XnStatus XN_C_DECL xnOSStartHighResTimer(XnOSTimer* pTimer); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:529:29: error: expected initializer before 'xnOSQueryTimer' 529 | XN_C_API XnStatus XN_C_DECL xnOSQueryTimer(XnOSTimer Timer, XnUInt64* pnTimeSinceStart); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:530:29: error: expected initializer before 'xnOSStopTimer' 530 | XN_C_API XnStatus XN_C_DECL xnOSStopTimer(XnOSTimer* pTimer); | ^~~~~~~~~~~~~ ../Include/XnOS.h:531:29: error: expected initializer before 'xnOSGetMonoTime' 531 | XN_C_API XnStatus XN_C_DECL xnOSGetMonoTime(struct timespec* pTime); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:532:29: error: expected initializer before 'xnOSGetTimeout' 532 | XN_C_API XnStatus XN_C_DECL xnOSGetTimeout(struct timespec* pTime, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:533:29: error: expected initializer before 'xnOSGetAbsTimeout' 533 | XN_C_API XnStatus XN_C_DECL xnOSGetAbsTimeout(struct timespec* pTime, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~ ../Include/XnList.h: In member function 'xnl::List& xnl::List::operator=(const xnl::List&)': ../Include/XnList.h:173:25: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 173 | XN_ASSERT(retVal == XN_STATUS_OK); | ^~~~~~~~~ ../Include/XnList.h:173:25: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) ../Include/XnOS.h:544:29: error: expected initializer before 'xnOSCreateThread' 544 | XN_C_API XnStatus XN_C_DECL xnOSCreateThread(XN_THREAD_PROC_PROTO pThreadProc, const XN_THREAD_PARAM pThreadParam, XN_THREAD_HANDLE* pThreadHandle); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:545:29: error: expected initializer before 'xnOSTerminateThread' 545 | XN_C_API XnStatus XN_C_DECL xnOSTerminateThread(XN_THREAD_HANDLE* pThreadHandle); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:546:29: error: expected initializer before 'xnOSCloseThread' 546 | XN_C_API XnStatus XN_C_DECL xnOSCloseThread(XN_THREAD_HANDLE* pThreadHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:547:29: error: expected initializer before 'xnOSWaitForThreadExit' 547 | XN_C_API XnStatus XN_C_DECL xnOSWaitForThreadExit(XN_THREAD_HANDLE ThreadHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:548:29: error: expected initializer before 'xnOSSetThreadPriority' 548 | XN_C_API XnStatus XN_C_DECL xnOSSetThreadPriority(XN_THREAD_HANDLE ThreadHandle, XnThreadPriority nPriority); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:549:29: error: expected initializer before 'xnOSGetCurrentThreadID' 549 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentThreadID(XN_THREAD_ID* pThreadID); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:550:29: error: expected initializer before 'xnOSWaitAndTerminateThread' 550 | XN_C_API XnStatus XN_C_DECL xnOSWaitAndTerminateThread(XN_THREAD_HANDLE* pThreadHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:658:29: error: expected initializer before 'xnOSSharedMemoryGetAddress' 658 | XN_C_API XnStatus XN_C_DECL xnOSSharedMemoryGetAddress(XN_SHARED_MEMORY_HANDLE hSharedMem, void** ppAddress); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:661:10: error: 'XnBool' does not name a type; did you mean 'bool'? 661 | XN_C_API XnBool XN_C_DECL xnOSWasKeyboardHit(); | ^~~~~~ | bool ../Include/XnOS.h:662:10: error: 'XnChar' does not name a type; did you mean 'char'? 662 | XN_C_API XnChar XN_C_DECL xnOSReadCharFromInput(); | ^~~~~~ | char ../Include/XnList.h: In member function 'XnStatus xnl::List::Remove(ConstIterator)': ../Include/XnList.h:258:19: error: 'm_nSize' was not declared in this scope; did you mean 'Size'? 258 | --m_nSize; | ^~~~~~~ | Size ../Include/XnOS.h:665:29: error: expected initializer before 'xnOSGetCurrentCallStack' 665 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentCallStack(XnInt32 nFramesToSkip, XnChar** astrFrames, XnUInt32 nMaxNameLength, XnInt32* pnFrames); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:666:29: error: expected initializer before 'xnOSPrintCurrentCallstack' 666 | XN_C_API XnStatus XN_C_DECL xnOSPrintCurrentCallstack(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnDump.h:157:9: error: 'XN_FILE_HANDLE' does not name a type; did you mean 'XN_SOCKET_HANDLE'? 157 | XN_FILE_HANDLE hFile; | ^~~~~~~~~~~~~~ | XN_SOCKET_HANDLE ../Include/XnList.h: In member function 'bool xnl::List::IsEmpty() const': ../Include/XnList.h:286:25: error: 'm_nSize' was not declared in this scope; did you mean 'Size'? 286 | return (m_nSize==0); | ^~~~~~~ | Size ../Include/XnDumpWriters.h: In member function 'XnStatus XnDumpWriterBase::Register()': ../Include/XnDumpWriters.h:79:22: error: 'm_bRegistered' was not declared in this scope; did you mean 'Register'? 79 | if (!m_bRegistered) | ^~~~~~~~~~~~~ | Register ../Include/XnList.h: In member function 'unsigned int xnl::List::Size() const': ../Include/XnList.h:290:24: error: 'm_nSize' was not declared in this scope; did you mean 'Size'? 290 | return m_nSize; | ^~~~~~~ | Size ../Include/XnList.h: In member function 'void xnl::List::CopyTo(T*)': ../Include/XnList.h:294:37: error: 'NULL' was not declared in this scope 294 | XN_ASSERT(pArray != NULL); | ^~~~ ../Include/XnList.h:294:37: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnList.h: In member function 'XnStatus xnl::List::InsertAfter(LinkedNode*, const T&)': ../Include/XnList.h:305:33: error: 'NULL' was not declared in this scope 305 | if (pNewNode == NULL) | ^~~~ ../Include/XnList.h:305:33: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnList.h:307:25: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 307 | XN_ASSERT(FALSE); | ^~~~~~~~~ ../Include/XnOS.h:551:10: error: 'XnBool' does not name a type; did you mean 'bool'? 551 | XN_C_API XnBool XN_C_DECL xnOSDoesThreadExistByID(XN_THREAD_ID threadId); | ^~~~~~ | bool ../Include/XnDump.h:160:33: error: 'XN_INVALID_FILE_HANDLE' was not declared in this scope 160 | const XnDump XN_DUMP_CLOSED = { XN_INVALID_FILE_HANDLE }; | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:554:29: error: expected initializer before 'xnOSGetCurrentProcessID' 554 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentProcessID(XN_PROCESS_ID* pProcID); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnDump.h:162:15: error: variable or field 'XN_API_DEPRECATED' declared void 162 | XN_C_API void XN_API_DEPRECATED("Use xnDumpFileX methods instead") XN_C_DECL xnDumpInit(XnDump* pDump, const XnChar* csDumpMask, const XnChar* csHeader, const XnChar* csFileNameFormat, ...); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:555:29: error: expected initializer before 'xnOSCreateProcess' 555 | XN_C_API XnStatus XN_C_DECL xnOSCreateProcess(const XnChar* strExecutable, XnUInt32 nArgs, const XnChar** pstrArgs, XN_PROCESS_ID* pProcID); | ^~~~~~~~~~~~~~~~~ ../Include/XnDump.h:163:15: error: variable or field 'XN_API_DEPRECATED' declared void 163 | XN_C_API void XN_API_DEPRECATED("Use xnDumpFileX methods instead") XN_C_DECL xnDumpForceInit(XnDump* pDump, const XnChar* csHeader, const XnChar* csFileNameFormat, ...); | ^~~~~~~~~~~~~~~~~ ../Include/XnDump.h:164:15: error: variable or field 'XN_API_DEPRECATED' declared void 164 | XN_C_API void XN_API_DEPRECATED("Use xnDumpFileX methods instead") XN_C_DECL xnDumpClose(XnDump* pDump); | ^~~~~~~~~~~~~~~~~ ../Include/XnDump.h:165:15: error: variable or field 'XN_API_DEPRECATED' declared void 165 | XN_C_API void XN_API_DEPRECATED("Use xnDumpFileX methods instead") XN_C_DECL xnDumpWriteBufferImpl(XnDump dump, const void* pBuffer, XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~ ../Include/XnDump.h:166:15: error: variable or field 'XN_API_DEPRECATED' declared void 166 | XN_C_API void XN_API_DEPRECATED("Use xnDumpFileX methods instead") XN_C_DECL xnDumpWriteStringImpl(XnDump dump, const XnChar* csFormat, ...); | ^~~~~~~~~~~~~~~~~ ../Include/XnList.h:316:19: error: 'm_nSize' was not declared in this scope; did you mean 'Size'? 316 | ++m_nSize; | ^~~~~~~ | Size ../Include/XnOS.h:558:29: error: expected initializer before 'xnOSCreateMutex' 558 | XN_C_API XnStatus XN_C_DECL xnOSCreateMutex(XN_MUTEX_HANDLE* pMutexHandle); | ^~~~~~~~~~~~~~~ ../Include/XnDump.h:167:15: error: variable or field 'XN_API_DEPRECATED' declared void 167 | XN_C_API void XN_API_DEPRECATED("Use xnDumpFileX methods instead") XN_C_DECL xnDumpFlush(XnDump dump); | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:559:29: error: expected initializer before 'xnOSCreateNamedMutex' 559 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedMutex(XN_MUTEX_HANDLE* pMutexHandle, const XnChar* cpMutexName); | ^~~~~~~~~~~~~~~~~~~~ In file included from XnDump.cpp:25: ../Include/XnDumpWriters.h:40:49: error: expected ')' before '*' token 40 | XnDumpWriterFileHandle (XN_CALLBACK_TYPE* OpenFile)(void* pCookie, const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName); | ~ ^ | ) ../Include/XnDumpWriters.h:41:31: error: expected ')' before '*' token 41 | void (XN_CALLBACK_TYPE* Write)(void* pCookie, XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize); | ~ ^ | ) ../Include/XnDumpWriters.h:42:31: error: expected ')' before '*' token 42 | void (XN_CALLBACK_TYPE* CloseFile)(void* pCookie, XnDumpWriterFileHandle hFile); | ~ ^ | ) ../Include/XnOS.h:560:29: error: expected initializer before 'xnOSCreateNamedMutexEx' 560 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedMutexEx(XN_MUTEX_HANDLE* pMutexHandle, const XnChar* cpMutexName, XnBool bAllowOtherUsers); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:48:29: error: expected initializer before 'xnDumpRegisterWriter' 48 | XN_C_API XnStatus XN_C_DECL xnDumpRegisterWriter(XnDumpWriter* pWriter); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:50:25: error: expected initializer before 'xnDumpUnregisterWriter' 50 | XN_C_API void XN_C_DECL xnDumpUnregisterWriter(XnDumpWriter* pWriter); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:52:29: error: expected initializer before 'xnDumpSetFilesOutput' 52 | XN_C_API XnStatus XN_C_DECL xnDumpSetFilesOutput(XnBool bOn); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:561:29: error: expected initializer before 'xnOSCloseMutex' 561 | XN_C_API XnStatus XN_C_DECL xnOSCloseMutex(XN_MUTEX_HANDLE* pMutexHandle); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:562:29: error: expected initializer before 'xnOSLockMutex' 562 | XN_C_API XnStatus XN_C_DECL xnOSLockMutex(const XN_MUTEX_HANDLE MutexHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~ ../Include/XnOS.h:563:29: error: expected initializer before 'xnOSUnLockMutex' 563 | XN_C_API XnStatus XN_C_DECL xnOSUnLockMutex(const XN_MUTEX_HANDLE MutexHandle); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:566:29: error: expected initializer before 'xnOSCreateCriticalSection' 566 | XN_C_API XnStatus XN_C_DECL xnOSCreateCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:107:16: error: 'XnBool' does not name a type; did you mean 'bool'? 107 | inline XnBool IsRegistered() { return m_bRegistered; } | ^~~~~~ | bool ../Include/XnOS.h:567:29: error: expected initializer before 'xnOSCloseCriticalSection' 567 | XN_C_API XnStatus XN_C_DECL xnOSCloseCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:568:29: error: expected initializer before 'xnOSEnterCriticalSection' 568 | XN_C_API XnStatus XN_C_DECL xnOSEnterCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:569:29: error: expected initializer before 'xnOSLeaveCriticalSection' 569 | XN_C_API XnStatus XN_C_DECL xnOSLeaveCriticalSection(XN_CRITICAL_SECTION_HANDLE* pCriticalSectionHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:572:29: error: expected initializer before 'xnOSCreateEvent' 572 | XN_C_API XnStatus XN_C_DECL xnOSCreateEvent(XN_EVENT_HANDLE* pEventHandle, XnBool bManualReset); | ^~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:109:55: error: 'XnChar' does not name a type; did you mean 'char'? 109 | virtual XnDumpWriterFileHandle OpenFile(const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) = 0; | ^~~~~~ | char ../Include/XnDumpWriters.h:109:76: error: 'XnBool' has not been declared 109 | virtual XnDumpWriterFileHandle OpenFile(const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) = 0; | ^~~~~~ ../Include/XnOS.h:573:29: error: expected initializer before 'xnOSCreateNamedEvent' 573 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedEvent(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName, XnBool bManualReset); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:574:29: error: expected initializer before 'xnOSCreateNamedEventEx' 574 | XN_C_API XnStatus XN_C_DECL xnOSCreateNamedEventEx(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName, XnBool bManualReset, XnBool bAllowOtherUsers); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:575:29: error: expected initializer before 'xnOSOpenNamedEvent' 575 | XN_C_API XnStatus XN_C_DECL xnOSOpenNamedEvent(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName); | ^~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:109:103: error: 'XnChar' does not name a type; did you mean 'char'? 109 | virtual XnDumpWriterFileHandle OpenFile(const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) = 0; | ^~~~~~ | char ../Include/XnOS.h:576:29: error: expected initializer before 'xnOSOpenNamedEventEx' 576 | XN_C_API XnStatus XN_C_DECL xnOSOpenNamedEventEx(XN_EVENT_HANDLE* pEventHandle, const XnChar* cpEventName, XnBool bAllowOtherUsers); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:110:79: error: 'XnUInt32' has not been declared 110 | virtual void Write(XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize) = 0; | ^~~~~~~~ ../Include/XnDumpWriters.h:123:39: error: expected ';' at end of member declaration 123 | static XnDumpWriterFileHandle XN_CALLBACK_TYPE OpenFileCallback(void* pCookie, const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) | ^~~~~~~~~~~~~~~~ | ; ../Include/XnOS.h:577:29: error: expected initializer before 'xnOSCloseEvent' 577 | XN_C_API XnStatus XN_C_DECL xnOSCloseEvent(XN_EVENT_HANDLE* pEventHandle); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:578:29: error: expected initializer before 'xnOSSetEvent' 578 | XN_C_API XnStatus XN_C_DECL xnOSSetEvent(const XN_EVENT_HANDLE EventHandle); | ^~~~~~~~~~~~ ../Include/XnOS.h:579:29: error: expected initializer before 'xnOSResetEvent' 579 | XN_C_API XnStatus XN_C_DECL xnOSResetEvent(const XN_EVENT_HANDLE EventHandle); | ^~~~~~~~~~~~~~ ../Include/XnList.h: In member function 'void xnl::List::Init()': ../Include/XnList.h:327:17: error: 'm_nSize' was not declared in this scope; did you mean 'Size'? 327 | m_nSize = 0; | ^~~~~~~ | Size ../Include/XnOS.h:580:29: error: expected initializer before 'xnOSWaitEvent' 580 | XN_C_API XnStatus XN_C_DECL xnOSWaitEvent(const XN_EVENT_HANDLE EventHandle, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~ ../Include/XnDumpWriters.h:123:94: error: 'XnChar' does not name a type; did you mean 'char'? 123 | static XnDumpWriterFileHandle XN_CALLBACK_TYPE OpenFileCallback(void* pCookie, const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) | ^~~~~~ | char ../Include/XnDumpWriters.h:123:115: error: 'XnBool' has not been declared 123 | static XnDumpWriterFileHandle XN_CALLBACK_TYPE OpenFileCallback(void* pCookie, const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) | ^~~~~~ ../Include/XnDumpWriters.h:123:142: error: 'XnChar' does not name a type; did you mean 'char'? 123 | static XnDumpWriterFileHandle XN_CALLBACK_TYPE OpenFileCallback(void* pCookie, const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) | ^~~~~~ | char ../Include/XnDumpWriters.h:123:56: error: ISO C++ forbids declaration of 'OpenFileCallback' with no type [-fpermissive] 123 | static XnDumpWriterFileHandle XN_CALLBACK_TYPE OpenFileCallback(void* pCookie, const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName) | ^~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:129:21: error: variable or field 'XN_CALLBACK_TYPE' declared void 129 | static void XN_CALLBACK_TYPE WriteCallback(void* pCookie, XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize) | ^~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:129:21: error: expected ';' at end of member declaration 129 | static void XN_CALLBACK_TYPE WriteCallback(void* pCookie, XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize) | ^~~~~~~~~~~~~~~~ | ; In file included from ../Include/XnHash.h:26: ../Include/XnPair.h: At global scope: ../Include/XnPair.h:34:9: error: 'XnBool' does not name a type; did you mean 'bool'? 34 | XnBool operator==(const Pair& other) {return first == other.first && second == other.second;} | ^~~~~~ | bool ../Include/XnOS.h:581:10: error: 'XnBool' does not name a type; did you mean 'bool'? 581 | XN_C_API XnBool XN_C_DECL xnOSIsEventSet(const XN_EVENT_HANDLE EventHandle); | ^~~~~~ | bool ../Include/XnDumpWriters.h:129:118: error: 'XnUInt32' has not been declared 129 | static void XN_CALLBACK_TYPE WriteCallback(void* pCookie, XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize) | ^~~~~~~~ ../Include/XnDumpWriters.h:129:38: error: ISO C++ forbids declaration of 'WriteCallback' with no type [-fpermissive] 129 | static void XN_CALLBACK_TYPE WriteCallback(void* pCookie, XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize) | ^~~~~~~~~~~~~ ../Include/XnDumpWriters.h:135:21: error: variable or field 'XN_CALLBACK_TYPE' declared void 135 | static void XN_CALLBACK_TYPE CloseFileCallback(void* pCookie, XnDumpWriterFileHandle hFile) | ^~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:135:21: error: expected ';' at end of member declaration 135 | static void XN_CALLBACK_TYPE CloseFileCallback(void* pCookie, XnDumpWriterFileHandle hFile) | ^~~~~~~~~~~~~~~~ | ; ../Include/XnDumpWriters.h:135:38: error: ISO C++ forbids declaration of 'CloseFileCallback' with no type [-fpermissive] 135 | static void XN_CALLBACK_TYPE CloseFileCallback(void* pCookie, XnDumpWriterFileHandle hFile) | ^~~~~~~~~~~~~~~~~ ../Include/XnOS.h:584:29: error: expected initializer before 'xnOSCreateSemaphore' 584 | XN_C_API XnStatus XN_C_DECL xnOSCreateSemaphore(XN_SEMAPHORE_HANDLE* pSemaphoreHandle, XnUInt32 nInitialCount); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:585:29: error: expected initializer before 'xnOSLockSemaphore' 585 | XN_C_API XnStatus XN_C_DECL xnOSLockSemaphore(XN_SEMAPHORE_HANDLE hSemaphore, XnUInt32 nMilliseconds); | ^~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:83:35: error: 'xnDumpRegisterWriter' was not declared in this scope 83 | nRetVal = xnDumpRegisterWriter(&m_cObject); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnPair.h:35:9: error: 'XnBool' does not name a type; did you mean 'bool'? 35 | XnBool operator!=(const Pair& other) {return !operator==(other);} | ^~~~~~ | bool ../Include/XnOS.h:586:29: error: expected initializer before 'xnOSUnlockSemaphore' 586 | XN_C_API XnStatus XN_C_DECL xnOSUnlockSemaphore(XN_SEMAPHORE_HANDLE hSemaphore); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:587:29: error: expected initializer before 'xnOSCloseSemaphore' 587 | XN_C_API XnStatus XN_C_DECL xnOSCloseSemaphore(XN_SEMAPHORE_HANDLE* pSemaphoreHandle); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:597:29: error: expected initializer before 'xnOSWaitForCondition' 597 | XN_C_API XnStatus XN_C_DECL xnOSWaitForCondition(const XN_EVENT_HANDLE EventHandle, XnUInt32 nMilliseconds, XnConditionFunc pConditionFunc, void* pConditionData); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:605:29: error: expected initializer before 'xnOSInitNetwork' 605 | XN_C_API XnStatus XN_C_DECL xnOSInitNetwork(); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:606:29: error: expected initializer before 'xnOSShutdownNetwork' 606 | XN_C_API XnStatus XN_C_DECL xnOSShutdownNetwork(); | ^~~~~~~~~~~~~~~~~~~ ../Include/XnHash.h:51:9: error: 'XnUInt8' does not name a type 51 | typedef XnUInt8 HashCode; | ^~~~~~~ ../Include/XnHash.h:57:21: error: 'HashCode' in namespace 'xnl' does not name a type 57 | static xnl::HashCode Hash(const TKey& key) | ^~~~~~~~ ../Include/XnOS.h:607:29: error: expected initializer before 'xnOSCreateSocket' 607 | XN_C_API XnStatus XN_C_DECL xnOSCreateSocket(const XnOSSocketType SocketType, const XnChar* cpIPAddress, const XnUInt16 nPort, XN_SOCKET_HANDLE* SocketPtr); | ^~~~~~~~~~~~~~~~ ../Include/XnOS.h:608:29: error: expected initializer before 'xnOSCloseSocket' 608 | XN_C_API XnStatus XN_C_DECL xnOSCloseSocket(XN_SOCKET_HANDLE Socket); | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:609:29: error: expected initializer before 'xnOSBindSocket' 609 | XN_C_API XnStatus XN_C_DECL xnOSBindSocket(XN_SOCKET_HANDLE Socket); | ^~~~~~~~~~~~~~ ../Include/XnOS.h:610:29: error: expected initializer before 'xnOSListenSocket' 610 | XN_C_API XnStatus XN_C_DECL xnOSListenSocket(XN_SOCKET_HANDLE Socket); | ^~~~~~~~~~~~~~~~ ../Include/XnHash.h:61:16: error: 'XnInt32' does not name a type 61 | static XnInt32 Compare(const TKey& key1, const TKey& key2) | ^~~~~~~ ../Include/XnOS.h:611:29: error: expected initializer before 'xnOSAcceptSocket' 611 | XN_C_API XnStatus XN_C_DECL xnOSAcceptSocket(XN_SOCKET_HANDLE ListenSocket, XN_SOCKET_HANDLE* AcceptSocketPtr, XnUInt32 nMillisecsTimeout); | ^~~~~~~~~~~~~~~~ ../Include/XnHash.h:79:46: error: 'HashCode' is not a member of 'xnl' 79 | LAST_BIN = (1 << sizeof(xnl::HashCode)*8), | ^~~~~~~~ ../Include/XnOS.h:612:29: error: expected initializer before 'xnOSConnectSocket' 612 | XN_C_API XnStatus XN_C_DECL xnOSConnectSocket(XN_SOCKET_HANDLE Socket, XnUInt32 nMillisecsTimeout); | ^~~~~~~~~~~~~~~~~ ../Include/XnHash.h:87:57: error: 'XnUInt32' has not been declared 87 | ConstIterator(TPairList* const* apBins, XnUInt32 currBin, typename TPairList::ConstIterator currIt) : | ^~~~~~~~ ../Include/XnHash.h:119:42: error: 'XnInt32' has not been declared 119 | ConstIterator operator++(XnInt32) | ^~~~~~~ ../Include/XnOS.h:613:29: error: expected initializer before 'xnOSSetSocketBufferSize' 613 | XN_C_API XnStatus XN_C_DECL xnOSSetSocketBufferSize(XN_SOCKET_HANDLE Socket, const XnUInt32 nSocketBufferSize); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnHash.h:151:42: error: 'XnInt32' has not been declared 151 | ConstIterator operator--(XnInt32) | ^~~~~~~ ../Include/XnOS.h:614:29: error: expected initializer before 'xnOSSendNetworkBuffer' 614 | XN_C_API XnStatus XN_C_DECL xnOSSendNetworkBuffer(XN_SOCKET_HANDLE Socket, const XnChar* cpBuffer, const XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:615:29: error: expected initializer before 'xnOSSendToNetworkBuffer' 615 | XN_C_API XnStatus XN_C_DECL xnOSSendToNetworkBuffer(XN_SOCKET_HANDLE Socket, const XnChar* cpBuffer, const XnUInt32 nBufferSize, XN_SOCKET_HANDLE SocketTo); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:616:29: error: expected initializer before 'xnOSReceiveNetworkBuffer' 616 | XN_C_API XnStatus XN_C_DECL xnOSReceiveNetworkBuffer(XN_SOCKET_HANDLE Socket, XnChar* cpBuffer, XnUInt32* pnBufferSize, XnUInt32 nMillisecsTimeout); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:617:29: error: expected initializer before 'xnOSReceiveFromNetworkBuffer' 617 | XN_C_API XnStatus XN_C_DECL xnOSReceiveFromNetworkBuffer(XN_SOCKET_HANDLE Socket, XnChar* cpBuffer, XnUInt32* pnBufferSize, XN_SOCKET_HANDLE* SocketFrom); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnHash.h:179:17: error: 'XnUInt32' does not name a type 179 | XnUInt32 m_currBin; | ^~~~~~~~ ../Include/XnHash.h:188:46: error: 'XnUInt32' has not been declared 188 | Iterator(TPairList** apBins, XnUInt32 currBin, typename TPairList::Iterator currIt) : | ^~~~~~~~ ../Include/XnOS.h:630:29: error: expected initializer before 'xnOSCreateSharedMemory' 630 | XN_C_API XnStatus XN_C_DECL xnOSCreateSharedMemory(const XnChar* strName, XnUInt32 nSize, XnUInt32 nAccessFlags, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnHash.h:198:37: error: 'XnInt32' has not been declared 198 | Iterator operator++(XnInt32) | ^~~~~~~ ../Include/XnHash.h:209:37: error: 'XnInt32' has not been declared 209 | Iterator operator--(XnInt32) | ^~~~~~~ ../Include/XnOS.h:632:29: error: expected initializer before 'xnOSCreateSharedMemoryEx' 632 | XN_C_API XnStatus XN_C_DECL xnOSCreateSharedMemoryEx(const XnChar* strName, XnUInt32 nSize, XnUInt32 nAccessFlags, XnBool bAllowOtherUsers, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:641:29: error: expected initializer before 'xnOSOpenSharedMemory' 641 | XN_C_API XnStatus XN_C_DECL xnOSOpenSharedMemory(const XnChar* strName, XnUInt32 nAccessFlags, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h: In member function 'void XnDumpWriterBase::Unregister()': ../Include/XnDumpWriters.h:98:21: error: 'm_bRegistered' was not declared in this scope; did you mean 'Register'? 98 | if (m_bRegistered) | ^~~~~~~~~~~~~ | Register ../Include/XnOS.h:643:29: error: expected initializer before 'xnOSOpenSharedMemoryEx' 643 | XN_C_API XnStatus XN_C_DECL xnOSOpenSharedMemoryEx(const XnChar* strName, XnUInt32 nAccessFlags, XnBool bAllowOtherUsers, XN_SHARED_MEMORY_HANDLE* phSharedMem); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:650:29: error: expected initializer before 'xnOSCloseSharedMemory' 650 | XN_C_API XnStatus XN_C_DECL xnOSCloseSharedMemory(XN_SHARED_MEMORY_HANDLE hSharedMem); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:658:29: error: expected initializer before 'xnOSSharedMemoryGetAddress' 658 | XN_C_API XnStatus XN_C_DECL xnOSSharedMemoryGetAddress(XN_SHARED_MEMORY_HANDLE hSharedMem, void** ppAddress); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnHash.h:434:9: error: 'XnUInt32' does not name a type 434 | XnUInt32 Size() const | ^~~~~~~~ ../Include/XnHash.h:443:36: error: 'XnUInt32' has not been declared 443 | bool Find(const TKey& key, XnUInt32& bin, typename TPairList::ConstIterator& currIt) const | ^~~~~~~~ ../Include/XnOS.h:661:10: error: 'XnBool' does not name a type; did you mean 'bool'? 661 | XN_C_API XnBool XN_C_DECL xnOSWasKeyboardHit(); | ^~~~~~ | bool ../Include/XnHash.h:472:9: error: 'XnUInt32' does not name a type 472 | XnUInt32 m_minBin; | ^~~~~~~~ ../Include/XnHash.h: In constructor 'xnl::Hash::ConstIterator::ConstIterator()': ../Include/XnHash.h:86:44: error: 'NULL' was not declared in this scope 86 | ConstIterator() : m_ppBins(NULL), m_currBin(0) {} | ^~~~ ../Include/XnDumpWriters.h:142:9: error: 'XnBool' does not name a type; did you mean 'bool'? 142 | XnBool m_bRegistered; | ^~~~~~ | bool ../Include/XnHash.h:27:1: note: 'NULL' is defined in header ''; did you forget to '#include '? 26 | #include "XnPair.h" +++ |+#include 27 | ../Include/XnHash.h:86:51: error: class 'xnl::Hash::ConstIterator' does not have any field named 'm_currBin' 86 | ConstIterator() : m_ppBins(NULL), m_currBin(0) {} | ^~~~~~~~~ ../Include/XnHash.h: In constructor 'xnl::Hash::ConstIterator::ConstIterator(xnl::Hash::TPairList* const*, int, typename xnl::Hash::TPairList::ConstIterator)': ../Include/XnHash.h:88:43: error: class 'xnl::Hash::ConstIterator' does not have any field named 'm_currBin' 88 | m_ppBins(apBins), m_currBin(currBin), m_currIt(currIt) | ^~~~~~~~~ ../Include/XnDumpWriters.h: In constructor 'XnDumpWriterBase::XnDumpWriterBase()': ../Include/XnDumpWriters.h:62:30: error: class 'XnDumpWriterBase' does not have any field named 'm_bRegistered' 62 | XnDumpWriterBase() : m_bRegistered(FALSE) | ^~~~~~~~~~~~~ ../Include/XnDumpWriters.h:65:27: error: 'XnDumpWriter' {aka 'struct XnDumpWriter'} has no member named 'OpenFile' 65 | m_cObject.OpenFile = OpenFileCallback; | ^~~~~~~~ ../Include/XnDumpWriters.h:66:27: error: 'XnDumpWriter' {aka 'struct XnDumpWriter'} has no member named 'Write' 66 | m_cObject.Write = WriteCallback; | ^~~~~ ../Include/XnDumpWriters.h:67:27: error: 'XnDumpWriter' {aka 'struct XnDumpWriter'} has no member named 'CloseFile' 67 | m_cObject.CloseFile = CloseFileCallback; | ^~~~~~~~~ ../Include/XnHash.h:90:73: error: 'm_currBin' was not declared in this scope; did you mean 'currBin'? 90 | if (currBin != LAST_BIN && m_currIt == m_ppBins[m_currBin]->End()) | ^~~~~~~~~ | currBin ../Include/XnDumpWriters.h: In member function 'XnStatus XnDumpWriterBase::Register()': ../Include/XnDumpWriters.h:79:22: error: 'm_bRegistered' was not declared in this scope; did you mean 'Register'? 79 | if (!m_bRegistered) | ^~~~~~~~~~~~~ | Register ../Include/XnHash.h: In copy constructor 'xnl::Hash::ConstIterator::ConstIterator(const xnl::Hash::ConstIterator&)': ../Include/XnHash.h:96:51: error: class 'xnl::Hash::ConstIterator' does not have any field named 'm_currBin' 96 | m_ppBins(other.m_ppBins), m_currBin(other.m_currBin), m_currIt(other.m_currIt) | ^~~~~~~~~ ../Include/XnOS.h:662:10: error: 'XnChar' does not name a type; did you mean 'char'? 662 | XN_C_API XnChar XN_C_DECL xnOSReadCharFromInput(); | ^~~~~~ | char ../Include/XnOS.h:665:29: error: expected initializer before 'xnOSGetCurrentCallStack' 665 | XN_C_API XnStatus XN_C_DECL xnOSGetCurrentCallStack(XnInt32 nFramesToSkip, XnChar** astrFrames, XnUInt32 nMaxNameLength, XnInt32* pnFrames); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:666:29: error: expected initializer before 'xnOSPrintCurrentCallstack' 666 | XN_C_API XnStatus XN_C_DECL xnOSPrintCurrentCallstack(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ XnFPSCalculator.cpp:33:9: error: 'XnUInt64' does not name a type 33 | XnUInt64* anTimes; | ^~~~~~~~ XnFPSCalculator.cpp:35:9: error: 'XnUInt32' does not name a type 35 | XnUInt32 nArraySize; | ^~~~~~~~ ../Include/XnHash.h: In member function 'xnl::Hash::ConstIterator& xnl::Hash::ConstIterator::operator++()': ../Include/XnHash.h:101:35: error: 'm_currBin' was not declared in this scope; did you mean 'm_currIt'? 101 | XN_ASSERT(m_currBin != LAST_BIN); | ^~~~~~~~~ | m_currIt XnFPSCalculator.cpp:37:9: error: 'XnUInt32' does not name a type 37 | XnUInt32 nCurrIndex; | ^~~~~~~~ XnFPSCalculator.cpp:45:37: error: 'XnUInt32' has not been declared 45 | XnStatus xnFPSInit(XnFPSData* pFPS, XnUInt32 nSamplesCount) | ^~~~~~~~ ../Include/XnHash.h:113:90: error: 'NULL' was not declared in this scope 113 | } while (m_currBin < LAST_BIN && (m_ppBins[m_currBin] == NULL || m_ppBins[m_currBin]->IsEmpty())); | ^~~~ ../Include/XnHash.h:113:90: note: 'NULL' is defined in header ''; did you forget to '#include '? In file included from ../Include/XnOS.h:28: XnFPSCalculator.cpp: In function 'XnStatus xnFPSInit(XnFPSDataImpl**, int)': ../Include/XnMacros.h:98:26: error: 'NULL' was not declared in this scope 98 | if (x == NULL) \ | ^~~~ ../Include/XnOS.h:119:35: note: in expansion of macro 'XN_VALIDATE_PTR' 119 | #define XN_VALIDATE_OUTPUT_PTR(x) XN_VALIDATE_PTR(x, XN_STATUS_NULL_OUTPUT_PTR) | ^~~~~~~~~~~~~~~ XnFPSCalculator.cpp:47:9: note: in expansion of macro 'XN_VALIDATE_OUTPUT_PTR' 47 | XN_VALIDATE_OUTPUT_PTR(pFPS); | ^~~~~~~~~~~~~~~~~~~~~~ XnFPSCalculator.cpp:26:1: note: 'NULL' is defined in header ''; did you forget to '#include '? 25 | #include +++ |+#include 26 | ../Include/XnDumpWriters.h:83:35: error: 'xnDumpRegisterWriter' was not declared in this scope 83 | nRetVal = xnDumpRegisterWriter(&m_cObject); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnOS.h:130:25: error: 'xnOSCalloc' was not declared in this scope 130 | x = (y*)xnOSCalloc(z, sizeof(y)); \ | ^~~~~~~~~~ XnFPSCalculator.cpp:50:9: note: in expansion of macro 'XN_VALIDATE_CALLOC' 50 | XN_VALIDATE_CALLOC(*pFPS, XnFPSDataImpl, 1); | ^~~~~~~~~~~~~~~~~~ ../Include/XnMacros.h:98:26: error: 'NULL' was not declared in this scope 98 | if (x == NULL) \ | ^~~~ ../Include/XnOS.h:121:34: note: in expansion of macro 'XN_VALIDATE_PTR' 121 | #define XN_VALIDATE_ALLOC_PTR(x) XN_VALIDATE_PTR(x, XN_STATUS_ALLOC_FAILED) | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:131:17: note: in expansion of macro 'XN_VALIDATE_ALLOC_PTR' 131 | XN_VALIDATE_ALLOC_PTR(x); | ^~~~~~~~~~~~~~~~~~~~~ XnFPSCalculator.cpp:50:9: note: in expansion of macro 'XN_VALIDATE_CALLOC' 50 | XN_VALIDATE_CALLOC(*pFPS, XnFPSDataImpl, 1); | ^~~~~~~~~~~~~~~~~~ ../Include/XnMacros.h:98:26: note: 'NULL' is defined in header ''; did you forget to '#include '? 98 | if (x == NULL) \ | ^~~~ ../Include/XnOS.h:121:34: note: in expansion of macro 'XN_VALIDATE_PTR' 121 | #define XN_VALIDATE_ALLOC_PTR(x) XN_VALIDATE_PTR(x, XN_STATUS_ALLOC_FAILED) | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:131:17: note: in expansion of macro 'XN_VALIDATE_ALLOC_PTR' 131 | XN_VALIDATE_ALLOC_PTR(x); | ^~~~~~~~~~~~~~~~~~~~~ XnFPSCalculator.cpp:50:9: note: in expansion of macro 'XN_VALIDATE_CALLOC' 50 | XN_VALIDATE_CALLOC(*pFPS, XnFPSDataImpl, 1); | ^~~~~~~~~~~~~~~~~~ XnFPSCalculator.cpp:54:43: error: 'XnFPSDataImpl' {aka 'struct XnFPSDataImpl'} has no member named 'anTimes' 54 | XN_VALIDATE_ALIGNED_CALLOC(pData->anTimes, XnUInt64, nSamplesCount, XN_DEFAULT_MEM_ALIGN); | ^~~~~~~ ../Include/XnOS.h:140:17: note: in definition of macro 'XN_VALIDATE_ALIGNED_CALLOC' 140 | x = (y*)xnOSCallocAligned(z, sizeof(y), w); \ | ^ ../Include/XnHash.h: In member function 'xnl::Hash::ConstIterator& xnl::Hash::ConstIterator::operator--()': ../Include/XnHash.h:128:35: error: 'm_currBin' was not declared in this scope; did you mean 'm_currIt'? 128 | XN_ASSERT(m_currBin != LAST_BIN); | ^~~~~~~~~ | m_currIt ../Include/XnHash.h:145:65: error: 'NULL' was not declared in this scope 145 | } while (m_ppBins[m_currBin] == NULL || m_ppBins[m_currBin]->IsEmpty()); | ^~~~ ../Include/XnHash.h:145:65: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnHash.h: In member function 'xnl::Hash& xnl::Hash::operator=(const xnl::Hash&)': ../Include/XnHash.h:243:25: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 243 | XN_ASSERT(retVal == XN_STATUS_OK); | ^~~~~~~~~ XnFPSCalculator.cpp:54:52: error: 'XnUInt64' was not declared in this scope 54 | XN_VALIDATE_ALIGNED_CALLOC(pData->anTimes, XnUInt64, nSamplesCount, XN_DEFAULT_MEM_ALIGN); | ^~~~~~~~ ../Include/XnOS.h:140:22: note: in definition of macro 'XN_VALIDATE_ALIGNED_CALLOC' 140 | x = (y*)xnOSCallocAligned(z, sizeof(y), w); \ | ^ ../Include/XnOS.h:140:24: error: expected primary-expression before ')' token 140 | x = (y*)xnOSCallocAligned(z, sizeof(y), w); \ | ^ XnFPSCalculator.cpp:54:9: note: in expansion of macro 'XN_VALIDATE_ALIGNED_CALLOC' 54 | XN_VALIDATE_ALIGNED_CALLOC(pData->anTimes, XnUInt64, nSamplesCount, XN_DEFAULT_MEM_ALIGN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ XnFPSCalculator.cpp:54:43: error: 'XnFPSDataImpl' {aka 'struct XnFPSDataImpl'} has no member named 'anTimes' 54 | XN_VALIDATE_ALIGNED_CALLOC(pData->anTimes, XnUInt64, nSamplesCount, XN_DEFAULT_MEM_ALIGN); | ^~~~~~~ ../Include/XnMacros.h:98:21: note: in definition of macro 'XN_VALIDATE_PTR' 98 | if (x == NULL) \ | ^ ../Include/XnOS.h:141:17: note: in expansion of macro 'XN_VALIDATE_ALLOC_PTR' 141 | XN_VALIDATE_ALLOC_PTR(x); | ^~~~~~~~~~~~~~~~~~~~~ XnFPSCalculator.cpp:54:9: note: in expansion of macro 'XN_VALIDATE_ALIGNED_CALLOC' 54 | XN_VALIDATE_ALIGNED_CALLOC(pData->anTimes, XnUInt64, nSamplesCount, XN_DEFAULT_MEM_ALIGN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnMacros.h:98:26: error: 'NULL' was not declared in this scope 98 | if (x == NULL) \ | ^~~~ ../Include/XnOS.h:121:34: note: in expansion of macro 'XN_VALIDATE_PTR' 121 | #define XN_VALIDATE_ALLOC_PTR(x) XN_VALIDATE_PTR(x, XN_STATUS_ALLOC_FAILED) | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:141:17: note: in expansion of macro 'XN_VALIDATE_ALLOC_PTR' 141 | XN_VALIDATE_ALLOC_PTR(x); | ^~~~~~~~~~~~~~~~~~~~~ XnFPSCalculator.cpp:54:9: note: in expansion of macro 'XN_VALIDATE_ALIGNED_CALLOC' 54 | XN_VALIDATE_ALIGNED_CALLOC(pData->anTimes, XnUInt64, nSamplesCount, XN_DEFAULT_MEM_ALIGN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h: In member function 'void XnDumpWriterBase::Unregister()': ../Include/XnDumpWriters.h:98:21: error: 'm_bRegistered' was not declared in this scope; did you mean 'Register'? 98 | if (m_bRegistered) | ^~~~~~~~~~~~~ | Register ../Include/XnMacros.h:98:26: note: 'NULL' is defined in header ''; did you forget to '#include '? 98 | if (x == NULL) \ | ^~~~ ../Include/XnOS.h:121:34: note: in expansion of macro 'XN_VALIDATE_PTR' 121 | #define XN_VALIDATE_ALLOC_PTR(x) XN_VALIDATE_PTR(x, XN_STATUS_ALLOC_FAILED) | ^~~~~~~~~~~~~~~ ../Include/XnOS.h:141:17: note: in expansion of macro 'XN_VALIDATE_ALLOC_PTR' 141 | XN_VALIDATE_ALLOC_PTR(x); | ^~~~~~~~~~~~~~~~~~~~~ XnFPSCalculator.cpp:54:9: note: in expansion of macro 'XN_VALIDATE_ALIGNED_CALLOC' 54 | XN_VALIDATE_ALIGNED_CALLOC(pData->anTimes, XnUInt64, nSamplesCount, XN_DEFAULT_MEM_ALIGN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ XnFPSCalculator.cpp:56:16: error: 'XnFPSDataImpl' {aka 'struct XnFPSDataImpl'} has no member named 'nArraySize' 56 | pData->nArraySize = nSamplesCount; | ^~~~~~~~~~ XnFPSCalculator.cpp: At global scope: XnFPSCalculator.cpp:61:42: error: 'XnUInt64' has not been declared 61 | XnStatus xnFPSMarkFrame(XnFPSData* pFPS, XnUInt64 nNow /* = 0 */) | ^~~~~~~~ XnFPSCalculator.cpp: In function 'XnStatus xnFPSMarkFrame(XnFPSDataImpl**, int)': ../Include/XnMacros.h:98:26: error: 'NULL' was not declared in this scope 98 | if (x == NULL) \ | ^~~~ ../Include/XnOS.h:116:34: note: in expansion of macro 'XN_VALIDATE_PTR' 116 | #define XN_VALIDATE_INPUT_PTR(x) XN_VALIDATE_PTR(x, XN_STATUS_NULL_INPUT_PTR) | ^~~~~~~~~~~~~~~ XnFPSCalculator.cpp:63:9: note: in expansion of macro 'XN_VALIDATE_INPUT_PTR' 63 | XN_VALIDATE_INPUT_PTR(pFPS); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnMacros.h:98:26: note: 'NULL' is defined in header ''; did you forget to '#include '? 98 | if (x == NULL) \ | ^~~~ ../Include/XnOS.h:116:34: note: in expansion of macro 'XN_VALIDATE_PTR' 116 | #define XN_VALIDATE_INPUT_PTR(x) XN_VALIDATE_PTR(x, XN_STATUS_NULL_INPUT_PTR) | ^~~~~~~~~~~~~~~ XnFPSCalculator.cpp:63:9: note: in expansion of macro 'XN_VALIDATE_INPUT_PTR' 63 | XN_VALIDATE_INPUT_PTR(pFPS); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnHash.h: In destructor 'xnl::Hash::~Hash()': ../Include/XnHash.h:251:22: error: 'XnUInt32' was not declared in this scope 251 | for (XnUInt32 i = 0; i < LAST_BIN; ++i) | ^~~~~~~~ XnFPSCalculator.cpp:67:17: error: 'xnOSGetHighResTimeStamp' was not declared in this scope 67 | xnOSGetHighResTimeStamp(&nNow); | ^~~~~~~~~~~~~~~~~~~~~~~ XnFPSCalculator.cpp:70:16: error: 'XnFPSDataImpl' {aka 'struct XnFPSDataImpl'} has no member named 'anTimes' 70 | pData->anTimes[pData->nCurrIndex] = nNow; | ^~~~~~~ XnFPSCalculator.cpp:70:31: error: 'XnFPSDataImpl' {aka 'struct XnFPSDataImpl'} has no member named 'nCurrIndex' 70 | pData->anTimes[pData->nCurrIndex] = nNow; | ^~~~~~~~~~ XnFPSCalculator.cpp:73:22: error: 'XnFPSDataImpl' {aka 'struct XnFPSDataImpl'} has no member named 'nCurrIndex' 73 | if (++pData->nCurrIndex == pData->nArraySize) | ^~~~~~~~~~ XnFPSCalculator.cpp:73:43: error: 'XnFPSDataImpl' {aka 'struct XnFPSDataImpl'} has no member named 'nArraySize' 73 | if (++pData->nCurrIndex == pData->nArraySize) | ^~~~~~~~~~ XnFPSCalculator.cpp:74:24: error: 'XnFPSDataImpl' {aka 'struct XnFPSDataImpl'} has no member named 'nCurrIndex' 74 | pData->nCurrIndex = 0; | ^~~~~~~~~~ XnFPSCalculator.cpp: At global scope: XnFPSCalculator.cpp:79:1: error: 'XnDouble' does not name a type; did you mean 'double'? 79 | XnDouble xnFPSCalc(XnFPSData* pFPS, XnUInt32 nAverageOver /* = 3000 */, XnUInt64 nNow /* = 0 */) | ^~~~~~~~ | double XnFPSCalculator.cpp: In function 'XnStatus xnFPSFree(XnFPSDataImpl**)': ../Include/XnMacros.h:98:26: error: 'NULL' was not declared in this scope 98 | if (x == NULL) \ | ^~~~ ../Include/XnOS.h:116:34: note: in expansion of macro 'XN_VALIDATE_PTR' 116 | #define XN_VALIDATE_INPUT_PTR(x) XN_VALIDATE_PTR(x, XN_STATUS_NULL_INPUT_PTR) | ^~~~~~~~~~~~~~~ XnFPSCalculator.cpp:114:9: note: in expansion of macro 'XN_VALIDATE_INPUT_PTR' 114 | XN_VALIDATE_INPUT_PTR(pFPS); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnMacros.h:98:26: note: 'NULL' is defined in header ''; did you forget to '#include '? 98 | if (x == NULL) \ | ^~~~ ../Include/XnOS.h:116:34: note: in expansion of macro 'XN_VALIDATE_PTR' 116 | #define XN_VALIDATE_INPUT_PTR(x) XN_VALIDATE_PTR(x, XN_STATUS_NULL_INPUT_PTR) | ^~~~~~~~~~~~~~~ XnFPSCalculator.cpp:114:9: note: in expansion of macro 'XN_VALIDATE_INPUT_PTR' 114 | XN_VALIDATE_INPUT_PTR(pFPS); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h:100:25: error: 'xnDumpUnregisterWriter' was not declared in this scope 100 | xnDumpUnregisterWriter(&m_cObject); | ^~~~~~~~~~~~~~~~~~~~~~ XnFPSCalculator.cpp:117:22: error: 'NULL' was not declared in this scope 117 | if (pData != NULL) | ^~~~ XnFPSCalculator.cpp:117:22: note: 'NULL' is defined in header ''; did you forget to '#include '? XnFPSCalculator.cpp:119:28: error: 'XnFPSDataImpl' {aka 'struct XnFPSDataImpl'} has no member named 'anTimes' 119 | if (pData->anTimes != NULL) | ^~~~~~~ XnFPSCalculator.cpp:121:57: error: 'XnFPSDataImpl' {aka 'struct XnFPSDataImpl'} has no member named 'anTimes' 121 | XN_ALIGNED_FREE_AND_NULL(pData->anTimes); | ^~~~~~~ ../Include/XnOS.h:152:21: note: in definition of macro 'XN_ALIGNED_FREE_AND_NULL' 152 | if (x != NULL) \ | ^ XnFPSCalculator.cpp:121:57: error: 'XnFPSDataImpl' {aka 'struct XnFPSDataImpl'} has no member named 'anTimes' 121 | XN_ALIGNED_FREE_AND_NULL(pData->anTimes); | ^~~~~~~ ../Include/XnOS.h:154:41: note: in definition of macro 'XN_ALIGNED_FREE_AND_NULL' 154 | xnOSFreeAligned(x); \ | ^ ../Include/XnHash.h:251:38: error: 'i' was not declared in this scope 251 | for (XnUInt32 i = 0; i < LAST_BIN; ++i) | ^ ../Include/XnHash.h:253:44: error: 'NULL' was not declared in this scope 253 | if (m_apBins[i] != NULL) | ^~~~ ../Include/XnDumpWriters.h: In member function 'int XnDumpWriterBase::OpenFileCallback(void*, const int*, int, const int*)': ../Include/XnDumpWriters.h:126:39: error: cannot convert 'XnDumpWriterFileHandle' to 'int' in return 126 | return pThis->OpenFile(strDumpName, bSessionDump, strFileName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | XnDumpWriterFileHandle ../Include/XnHash.h:253:44: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnDumpWriters.h: In member function 'int XnDumpWriterBase::WriteCallback(void*, XnDumpWriterFileHandle, const void*, int)': ../Include/XnDumpWriters.h:132:36: error: void value not ignored as it ought to be 132 | return pThis->Write(hFile, pBuffer, nBufferSize); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnDumpWriters.h: In member function 'int XnDumpWriterBase::CloseFileCallback(void*, XnDumpWriterFileHandle)': ../Include/XnDumpWriters.h:138:40: error: void value not ignored as it ought to be 138 | return pThis->CloseFile(hFile); | ~~~~~~~~~~~~~~~~^~~~~~~ In file included from ../Include/XnHash.h:24: ../Include/XnList.h: In constructor 'xnl::LinkedListNode::LinkedListNode()': ../Include/XnList.h:31:34: error: 'NULL' was not declared in this scope 31 | LinkedListNode() : pPrev(NULL), pNext(NULL) {} | ^~~~ ../Include/XnList.h:1:1: note: 'NULL' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | /***************************************************************************** ../Include/XnList.h: In constructor 'xnl::LinkedListNode::LinkedListNode(const T&)': ../Include/XnList.h:32:48: error: 'NULL' was not declared in this scope 32 | LinkedListNode(const T& value) : pPrev(NULL), pNext(NULL), value(value) {} | ^~~~ ../Include/XnList.h:32:48: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnOS.h:154:25: error: 'xnOSFreeAligned' was not declared in this scope 154 | xnOSFreeAligned(x); \ | ^~~~~~~~~~~~~~~ XnFPSCalculator.cpp:121:25: note: in expansion of macro 'XN_ALIGNED_FREE_AND_NULL' 121 | XN_ALIGNED_FREE_AND_NULL(pData->anTimes); | ^~~~~~~~~~~~~~~~~~~~~~~~ XnFPSCalculator.cpp:121:57: error: 'XnFPSDataImpl' {aka 'struct XnFPSDataImpl'} has no member named 'anTimes' 121 | XN_ALIGNED_FREE_AND_NULL(pData->anTimes); | ^~~~~~~ ../Include/XnOS.h:155:25: note: in definition of macro 'XN_ALIGNED_FREE_AND_NULL' 155 | x = NULL; \ | ^ ../Include/XnDumpWriters.h:100:25: error: 'xnDumpUnregisterWriter' was not declared in this scope 100 | xnDumpUnregisterWriter(&m_cObject); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnList.h: At global scope: ../Include/XnList.h:321:9: error: 'XnUInt32' does not name a type 321 | XnUInt32 m_nSize; | ^~~~~~~~ ../Include/XnDumpWriters.h: In member function 'int XnDumpWriterBase::OpenFileCallback(void*, const int*, int, const int*)': ../Include/XnDumpWriters.h:126:39: error: cannot convert 'XnDumpWriterFileHandle' to 'int' in return 126 | return pThis->OpenFile(strDumpName, bSessionDump, strFileName); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | XnDumpWriterFileHandle ../Include/XnList.h: In constructor 'xnl::List::ConstIterator::ConstIterator()': ../Include/XnList.h:66:53: error: 'NULL' was not declared in this scope 66 | inline ConstIterator() : m_pCurrent(NULL) {} | ^~~~ ../Include/XnList.h:66:53: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnDumpWriters.h: In member function 'int XnDumpWriterBase::WriteCallback(void*, XnDumpWriterFileHandle, const void*, int)': ../Include/XnDumpWriters.h:132:36: error: void value not ignored as it ought to be 132 | return pThis->Write(hFile, pBuffer, nBufferSize); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnHash.h: In member function 'xnl::Hash::Iterator xnl::Hash::Begin()': ../Include/XnHash.h:262:43: error: 'm_minBin' was not declared in this scope 262 | return Iterator(m_apBins, m_minBin, m_apBins[m_minBin]->Begin()); | ^~~~~~~~ ../Include/XnDumpWriters.h: In member function 'int XnDumpWriterBase::CloseFileCallback(void*, XnDumpWriterFileHandle)': ../Include/XnDumpWriters.h:138:40: error: void value not ignored as it ought to be 138 | return pThis->CloseFile(hFile); | ~~~~~~~~~~~~~~~~^~~~~~~ ../Include/XnList.h: In member function 'xnl::List& xnl::List::operator=(const xnl::List&)': ../Include/XnList.h:173:25: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 173 | XN_ASSERT(retVal == XN_STATUS_OK); | ^~~~~~~~~ ../Include/XnList.h:173:25: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) XnDumpFileWriter.h: At global scope: XnDumpFileWriter.h:35:55: error: 'XnChar' does not name a type; did you mean 'char'? 35 | virtual XnDumpWriterFileHandle OpenFile(const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName); | ^~~~~~ | char XnDumpFileWriter.h:35:76: error: 'XnBool' has not been declared 35 | virtual XnDumpWriterFileHandle OpenFile(const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName); | ^~~~~~ XnDumpFileWriter.h:35:103: error: 'XnChar' does not name a type; did you mean 'char'? 35 | virtual XnDumpWriterFileHandle OpenFile(const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName); | ^~~~~~ | char XnDumpFileWriter.h:36:79: error: 'XnUInt32' has not been declared 36 | virtual void Write(XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize); | ^~~~~~~~ In file included from ../Include/XnLog.h:28: ../Include/XnLogTypes.h:60:9: error: 'XnUInt64' does not name a type 60 | XnUInt64 nTimestamp; | ^~~~~~~~ ../Include/XnLogTypes.h:62:15: error: 'XnChar' does not name a type; did you mean 'char'? 62 | const XnChar* strSeverity; | ^~~~~~ | char ../Include/XnHash.h: In member function 'xnl::Hash::ConstIterator xnl::Hash::Begin() const': ../Include/XnHash.h:266:48: error: 'm_minBin' was not declared in this scope 266 | return ConstIterator(m_apBins, m_minBin, m_apBins[m_minBin]->Begin()); | ^~~~~~~~ ../Include/XnHash.h: In member function 'XnStatus xnl::Hash::Set(const TKey&, const TValue&)': ../Include/XnHash.h:279:22: error: 'HashCode' is not a member of 'xnl' 279 | xnl::HashCode hash = KeyManager::Hash(key); | ^~~~~~~~ ../Include/XnLogTypes.h:63:15: error: 'XnChar' does not name a type; did you mean 'char'? 63 | const XnChar* strMask; | ^~~~~~ | char ../Include/XnLogTypes.h:64:15: error: 'XnChar' does not name a type; did you mean 'char'? 64 | const XnChar* strMessage; | ^~~~~~ | char ../Include/XnList.h: In member function 'XnStatus xnl::List::Remove(ConstIterator)': ../Include/XnList.h:258:19: error: 'm_nSize' was not declared in this scope; did you mean 'Size'? 258 | --m_nSize; | ^~~~~~~ | Size ../Include/XnLogTypes.h:65:15: error: 'XnChar' does not name a type; did you mean 'char'? 65 | const XnChar* strFile; | ^~~~~~ | char ../Include/XnHash.h:281:30: error: 'hash' was not declared in this scope; did you mean 'Hash'? 281 | if (m_apBins[hash] == NULL) | ^~~~ | Hash ../Include/XnHash.h:281:39: error: 'NULL' was not declared in this scope 281 | if (m_apBins[hash] == NULL) | ^~~~ ../Include/XnHash.h:281:39: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnList.h: In member function 'bool xnl::List::IsEmpty() const': ../Include/XnList.h:286:25: error: 'm_nSize' was not declared in this scope; did you mean 'Size'? 286 | return (m_nSize==0); | ^~~~~~~ | Size ../Include/XnHash.h:283:42: error: 'XN_NEW' was not declared in this scope 283 | m_apBins[hash] = XN_NEW(TPairList); | ^~~~~~ ../Include/XnList.h: In member function 'unsigned int xnl::List::Size() const': ../Include/XnList.h:290:24: error: 'm_nSize' was not declared in this scope; did you mean 'Size'? 290 | return m_nSize; | ^~~~~~~ | Size ../Include/XnList.h: In member function 'void xnl::List::CopyTo(T*)': ../Include/XnList.h:294:37: error: 'NULL' was not declared in this scope 294 | XN_ASSERT(pArray != NULL); | ^~~~ ../Include/XnList.h:294:37: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnList.h: In member function 'XnStatus xnl::List::InsertAfter(LinkedNode*, const T&)': ../Include/XnList.h:305:33: error: 'NULL' was not declared in this scope 305 | if (pNewNode == NULL) | ^~~~ ../Include/XnList.h:305:33: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnList.h:307:25: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 307 | XN_ASSERT(FALSE); | ^~~~~~~~~ ../Include/XnHash.h:285:36: error: 'm_minBin' was not declared in this scope 285 | if (hash < m_minBin) | ^~~~~~~~ ../Include/XnList.h:316:19: error: 'm_nSize' was not declared in this scope; did you mean 'Size'? 316 | ++m_nSize; | ^~~~~~~ | Size ../Include/XnHash.h:290:65: error: 'hash' was not declared in this scope; did you mean 'Hash'? 290 | for (typename TPairList::Iterator it = m_apBins[hash]->Begin(); it != m_apBins[hash]->End(); ++it) | ^~~~ | Hash ../Include/XnOS.h:147:25: error: 'xnOSFree' was not declared in this scope; did you mean 'xnFPSFree'? 147 | xnOSFree(x); \ | ^~~~~~~~ XnFPSCalculator.cpp:126:25: note: in expansion of macro 'XN_FREE_AND_NULL' 126 | XN_FREE_AND_NULL(*pFPS); | ^~~~~~~~~~~~~~~~ ../Include/XnList.h: In member function 'void xnl::List::Init()': ../Include/XnList.h:327:17: error: 'm_nSize' was not declared in this scope; did you mean 'Size'? 327 | m_nSize = 0; | ^~~~~~~ | Size In file included from ../Include/XnHash.h:26: ../Include/XnPair.h: At global scope: ../Include/XnPair.h:34:9: error: 'XnBool' does not name a type; did you mean 'bool'? 34 | XnBool operator==(const Pair& other) {return first == other.first && second == other.second;} | ^~~~~~ | bool ../Include/XnHash.h:300:33: error: 'hash' was not declared in this scope; did you mean 'Hash'? 300 | return m_apBins[hash]->AddLast(TPair(key, value)); | ^~~~ | Hash ../Include/XnPair.h:35:9: error: 'XnBool' does not name a type; did you mean 'bool'? 35 | XnBool operator!=(const Pair& other) {return !operator==(other);} | ^~~~~~ | bool ../Include/XnHash.h:51:9: error: 'XnUInt8' does not name a type 51 | typedef XnUInt8 HashCode; | ^~~~~~~ ../Include/XnHash.h:57:21: error: 'HashCode' in namespace 'xnl' does not name a type 57 | static xnl::HashCode Hash(const TKey& key) | ^~~~~~~~ ../Include/XnHash.h:61:16: error: 'XnInt32' does not name a type 61 | static XnInt32 Compare(const TKey& key1, const TKey& key2) | ^~~~~~~ ../Include/XnLogTypes.h:66:9: error: 'XnUInt32' does not name a type 66 | XnUInt32 nLine; | ^~~~~~~~ ../Include/XnLogTypes.h:72:31: error: expected ')' before '*' token 72 | void (XN_CALLBACK_TYPE* WriteEntry)(const XnLogEntry* pEntry, void* pCookie); | ~ ^ | ) ../Include/XnLogTypes.h:73:31: error: expected ')' before '*' token 73 | void (XN_CALLBACK_TYPE* WriteUnformatted)(const XnChar* strMessage, void* pCookie); | ~ ^ | ) ../Include/XnLogTypes.h:74:31: error: expected ')' before '*' token 74 | void (XN_CALLBACK_TYPE* OnConfigurationChanged)(void* pCookie); | ~ ^ | ) ../Include/XnHash.h:79:46: error: 'HashCode' is not a member of 'xnl' 79 | LAST_BIN = (1 << sizeof(xnl::HashCode)*8), | ^~~~~~~~ ../Include/XnLogTypes.h:75:31: error: expected ')' before '*' token 75 | void (XN_CALLBACK_TYPE* OnClosing)(void* pCookie); | ~ ^ | ) ../Include/XnLog.h:41:29: error: expected initializer before 'xnLogInitFromINIFile' 41 | XN_C_API XnStatus XN_C_DECL xnLogInitFromINIFile(const XnChar* csINIFile, const XnChar* csSectionName); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:46:29: error: expected initializer before 'xnLogClose' 46 | XN_C_API XnStatus XN_C_DECL xnLogClose(); | ^~~~~~~~~~ ../Include/XnHash.h:87:57: error: 'XnUInt32' has not been declared 87 | ConstIterator(TPairList* const* apBins, XnUInt32 currBin, typename TPairList::ConstIterator currIt) : | ^~~~~~~~ ../Include/XnLog.h:62:29: error: expected initializer before 'xnLogSetMaskMinSeverity' 62 | XN_C_API XnStatus XN_C_DECL xnLogSetMaskMinSeverity(const XnChar* strMask, XnLogSeverity minSeverity); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:71:34: error: expected initializer before 'xnLogGetMaskMinSeverity' 71 | XN_C_API XnLogSeverity XN_C_DECL xnLogGetMaskMinSeverity(const XnChar* strMask); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:87:29: error: expected initializer before 'xnLogRegisterLogWriter' 87 | XN_C_API XnStatus XN_C_DECL xnLogRegisterLogWriter(XnLogWriter* pWriter); | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [../../BuildSystem/CommonCppMakefile:130: ../Bin/Intermediate/Arm64-Release/libXnLib.a/XnFPSCalculator.o] Error 1 ../Include/XnLog.h:94:25: error: expected initializer before 'xnLogUnregisterLogWriter' 94 | XN_C_API void XN_C_DECL xnLogUnregisterLogWriter(XnLogWriter* pWriter); | ^~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** Waiting for unfinished jobs.... ../Include/XnHash.h:119:42: error: 'XnInt32' has not been declared 119 | ConstIterator operator++(XnInt32) | ^~~~~~~ ../Include/XnLog.h:101:29: error: expected initializer before 'xnLogSetConsoleOutput' 101 | XN_C_API XnStatus XN_C_DECL xnLogSetConsoleOutput(XnBool bConsoleOutput); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:108:29: error: expected initializer before 'xnLogSetFileOutput' 108 | XN_C_API XnStatus XN_C_DECL xnLogSetFileOutput(XnBool bFileOutput); | ^~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:129:29: error: expected initializer before 'xnLogStartNewFile' 129 | XN_C_API XnStatus XN_C_DECL xnLogStartNewFile(); | ^~~~~~~~~~~~~~~~~ ../Include/XnHash.h:151:42: error: 'XnInt32' has not been declared 151 | ConstIterator operator--(XnInt32) | ^~~~~~~ ../Include/XnLog.h:136:29: error: expected initializer before 'xnLogSetLineInfo' 136 | XN_C_API XnStatus XN_C_DECL xnLogSetLineInfo(XnBool bLineInfo); | ^~~~~~~~~~~~~~~~ ../Include/XnLog.h:143:29: error: expected initializer before 'xnLogSetOutputFolder' 143 | XN_C_API XnStatus XN_C_DECL xnLogSetOutputFolder(const XnChar* strOutputFolder); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:151:29: error: expected initializer before 'xnLogGetFileName' 151 | XN_C_API XnStatus XN_C_DECL xnLogGetFileName(XnChar* strFileName, XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~ ../Include/XnLog.h:166:30: error: expected initializer before 'xnLoggerOpen' 166 | XN_C_API XnLogger* XN_C_DECL xnLoggerOpen(const XnChar* strMask); | ^~~~~~~~~~~~ ../Include/XnLog.h:180:25: error: expected initializer before 'xnLoggerWrite' 180 | XN_C_API void XN_C_DECL xnLoggerWrite(XnLogger* pLogger, XnLogSeverity severity, const XnChar* strFile, XnUInt32 nLine, const XnChar* strFormat, ...); | ^~~~~~~~~~~~~ ../Include/XnLog.h:189:25: error: expected initializer before 'xnLoggerWriteNoEntry' 189 | XN_C_API void XN_C_DECL xnLoggerWriteNoEntry(XnLogger* pLogger, XnLogSeverity severity, const XnChar* strFormat, ...); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:202:25: error: expected initializer before 'xnLoggerWriteBinaryData' 202 | XN_C_API void XN_C_DECL xnLoggerWriteBinaryData(XnLogger* pLogger, XnLogSeverity severity, const XnChar* strFile, XnUInt32 nLine, XnUChar* pBinData, XnUInt32 nDataSize, const XnChar* strFormat, ...); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:210:10: error: 'XnBool' does not name a type; did you mean 'bool'? 210 | XN_C_API XnBool XN_C_DECL xnLoggerIsEnabled(XnLogger* pLogger, XnLogSeverity severity); | ^~~~~~ | bool ../Include/XnLog.h:217:25: error: expected initializer before '_xnLoggerClose' 217 | XN_C_API void XN_C_DECL _xnLoggerClose(XnLogger* pLogger); | ^~~~~~~~~~~~~~ ../Include/XnLog.h:395:29: error: expected initializer before 'xnLogCreateNewFile' 395 | XN_C_API XnStatus XN_C_DECL xnLogCreateNewFile(const XnChar* strName, XnBool bSessionBased, XnChar* csFullPath, XnUInt32 nPathBufferSize, XN_FILE_HANDLE* phFile); | ^~~~~~~~~~~~~~~~~~ ../Include/XnHash.h:179:17: error: 'XnUInt32' does not name a type 179 | XnUInt32 m_currBin; | ^~~~~~~~ ../Include/XnLog.h:427:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 427 | XN_C_API XnStatus XN_API_DEPRECATED("Please use xnLogSetMaskMinSeverity() instead") XN_C_DECL xnLogSetMaskState(const XnChar* csMask, XnBool bEnabled); | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:427:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnHash.h:188:46: error: 'XnUInt32' has not been declared 188 | Iterator(TPairList** apBins, XnUInt32 currBin, typename TPairList::Iterator currIt) : | ^~~~~~~~ ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnHash.h:198:37: error: 'XnInt32' has not been declared 198 | Iterator operator++(XnInt32) | ^~~~~~~ ../Include/XnHash.h:209:37: error: 'XnInt32' has not been declared 209 | Iterator operator--(XnInt32) | ^~~~~~~ ../Include/XnLog.h:428:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 428 | XN_C_API XnStatus XN_API_DEPRECATED("Please use xnLogSetMaskMinSeverity() instead") XN_C_DECL xnLogSetSeverityFilter(XnLogSeverity nMinSeverity); | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:428:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnHash.h: In member function 'xnl::Hash::ConstIterator xnl::Hash::Find(const TKey&) const': ../Include/XnHash.h:305:17: error: 'XnUInt32' was not declared in this scope 305 | XnUInt32 bin = LAST_BIN; | ^~~~~~~~ ../Include/XnLog.h:429:10: error: 'XnBool' does not name a type; did you mean 'bool'? 429 | XN_C_API XnBool XN_C_DECL xnLogIsEnabled(const XnChar* csLogMask, XnLogSeverity nSeverity); | ^~~~~~ | bool ../Include/XnLog.h:430:25: error: expected initializer before 'xnLogWrite' 430 | XN_C_API void XN_C_DECL xnLogWrite(const XnChar* csLogMask, XnLogSeverity nSeverity, const XnChar* csFile, XnUInt32 nLine, const XnChar* csFormat, ...); | ^~~~~~~~~~ ../Include/XnLog.h:431:25: error: expected initializer before 'xnLogWriteNoEntry' 431 | XN_C_API void XN_C_DECL xnLogWriteNoEntry(const XnChar* csLogMask, XnLogSeverity nSeverity, const XnChar* csFormat, ...); | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:432:25: error: expected initializer before 'xnLogWriteBinaryData' 432 | XN_C_API void XN_C_DECL xnLogWriteBinaryData(const XnChar* csLogMask, XnLogSeverity nSeverity, const XnChar* csFile, XnUInt32 nLine, XnUChar* pBinData, XnUInt32 nDataSize, const XnChar* csFormat, ...); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:433:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 433 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnLogCreateNewFile() instead") XN_C_DECL xnLogCreateFile(const XnChar* strFileName, XN_FILE_HANDLE* phFile); | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:433:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:434:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 434 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnLogCreateNewFile() instead") XN_C_DECL xnLogCreateFileEx(const XnChar* strFileName, XnBool bSessionBased, XN_FILE_HANDLE* phFile); | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:434:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnHash.h:434:9: error: 'XnUInt32' does not name a type 434 | XnUInt32 Size() const | ^~~~~~~~ ../Include/XnHash.h:443:36: error: 'XnUInt32' has not been declared 443 | bool Find(const TKey& key, XnUInt32& bin, typename TPairList::ConstIterator& currIt) const | ^~~~~~~~ XnDumpFileWriter.cpp:30:57: error: 'XnChar' does not name a type; did you mean 'char'? 30 | XnDumpWriterFileHandle XnDumpFileWriter::OpenFile(const XnChar* /*strDumpName*/, XnBool bSessionDump, const XnChar* strFileName) | ^~~~~~ | char XnDumpFileWriter.cpp:30:82: error: 'XnBool' has not been declared 30 | XnDumpWriterFileHandle XnDumpFileWriter::OpenFile(const XnChar* /*strDumpName*/, XnBool bSessionDump, const XnChar* strFileName) | ^~~~~~ ../Include/XnHash.h:472:9: error: 'XnUInt32' does not name a type 472 | XnUInt32 m_minBin; | ^~~~~~~~ ../Include/XnHash.h: In constructor 'xnl::Hash::ConstIterator::ConstIterator()': ../Include/XnHash.h:86:44: error: 'NULL' was not declared in this scope 86 | ConstIterator() : m_ppBins(NULL), m_currBin(0) {} | ^~~~ ../Include/XnHash.h:27:1: note: 'NULL' is defined in header ''; did you forget to '#include '? 26 | #include "XnPair.h" +++ |+#include 27 | ../Include/XnHash.h:86:51: error: class 'xnl::Hash::ConstIterator' does not have any field named 'm_currBin' 86 | ConstIterator() : m_ppBins(NULL), m_currBin(0) {} | ^~~~~~~~~ XnDumpFileWriter.cpp:30:109: error: 'XnChar' does not name a type; did you mean 'char'? 30 | XnDumpWriterFileHandle XnDumpFileWriter::OpenFile(const XnChar* /*strDumpName*/, XnBool bSessionDump, const XnChar* strFileName) | ^~~~~~ | char ../Include/XnHash.h: In constructor 'xnl::Hash::ConstIterator::ConstIterator(xnl::Hash::TPairList* const*, int, typename xnl::Hash::TPairList::ConstIterator)': ../Include/XnHash.h:88:43: error: class 'xnl::Hash::ConstIterator' does not have any field named 'm_currBin' 88 | m_ppBins(apBins), m_currBin(currBin), m_currIt(currIt) | ^~~~~~~~~ XnDumpFileWriter.cpp: In member function 'virtual XnDumpWriterFileHandle XnDumpFileWriter::OpenFile(const int*, int, const int*)': XnDumpFileWriter.cpp:34:43: error: 'NULL' was not declared in this scope 34 | XnDumpWriterFileHandle result = { NULL }; | ^~~~ XnDumpFileWriter.cpp:26:1: note: 'NULL' is defined in header ''; did you forget to '#include '? 25 | #include +++ |+#include 26 | ../Include/XnHash.h:307:31: error: 'bin' was not declared in this scope 307 | if (Find(key, bin, it)) | ^~~ ../Include/XnHash.h:90:73: error: 'm_currBin' was not declared in this scope; did you mean 'currBin'? 90 | if (currBin != LAST_BIN && m_currIt == m_ppBins[m_currBin]->End()) | ^~~~~~~~~ | currBin ../Include/XnHash.h: In copy constructor 'xnl::Hash::ConstIterator::ConstIterator(const xnl::Hash::ConstIterator&)': ../Include/XnHash.h:96:51: error: class 'xnl::Hash::ConstIterator' does not have any field named 'm_currBin' 96 | m_ppBins(other.m_ppBins), m_currBin(other.m_currBin), m_currIt(other.m_currIt) | ^~~~~~~~~ ../Include/XnHash.h: In member function 'xnl::Hash::Iterator xnl::Hash::Find(const TKey&)': ../Include/XnHash.h:315:17: error: 'XnUInt32' was not declared in this scope 315 | XnUInt32 bin = LAST_BIN; | ^~~~~~~~ ../Include/XnHash.h: In member function 'xnl::Hash::ConstIterator& xnl::Hash::ConstIterator::operator++()': ../Include/XnHash.h:101:35: error: 'm_currBin' was not declared in this scope; did you mean 'm_currIt'? 101 | XN_ASSERT(m_currBin != LAST_BIN); | ^~~~~~~~~ | m_currIt ../Include/XnHash.h:113:90: error: 'NULL' was not declared in this scope 113 | } while (m_currBin < LAST_BIN && (m_ppBins[m_currBin] == NULL || m_ppBins[m_currBin]->IsEmpty())); | ^~~~ ../Include/XnHash.h:113:90: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnHash.h:317:31: error: 'bin' was not declared in this scope 317 | if (Find(key, bin, it)) | ^~~ ../Include/XnHash.h: In member function 'TValue& xnl::Hash::operator[](const TKey&)': ../Include/XnHash.h:385:25: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 385 | XN_ASSERT(retVal == XN_STATUS_OK); | ^~~~~~~~~ ../Include/XnHash.h: In member function 'XnStatus xnl::Hash::Remove(ConstIterator)': ../Include/XnHash.h:398:25: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 398 | XN_ASSERT(false); | ^~~~~~~~~ ../Include/XnHash.h:403:53: error: 'NULL' was not declared in this scope 403 | XN_ASSERT(m_apBins[it.m_currBin] != NULL); | ^~~~ ../Include/XnHash.h:403:53: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnHash.h: In member function 'bool xnl::Hash::Find(const TKey&, int&, typename TPairList::ConstIterator&) const': ../Include/XnHash.h:445:22: error: 'HashCode' is not a member of 'xnl' 445 | xnl::HashCode hash = KeyManager::Hash(key); | ^~~~~~~~ XnDumpFileWriter.cpp:36:9: error: 'XN_FILE_HANDLE' was not declared in this scope; did you mean 'XN_SOCKET_HANDLE'? 36 | XN_FILE_HANDLE* phFile = (XN_FILE_HANDLE*)xnOSMalloc(sizeof(XN_FILE_HANDLE)); | ^~~~~~~~~~~~~~ | XN_SOCKET_HANDLE ../Include/XnHash.h: In member function 'xnl::Hash::ConstIterator& xnl::Hash::ConstIterator::operator--()': ../Include/XnHash.h:128:35: error: 'm_currBin' was not declared in this scope; did you mean 'm_currIt'? 128 | XN_ASSERT(m_currBin != LAST_BIN); | ^~~~~~~~~ | m_currIt ../Include/XnHash.h:145:65: error: 'NULL' was not declared in this scope 145 | } while (m_ppBins[m_currBin] == NULL || m_ppBins[m_currBin]->IsEmpty()); | ^~~~ ../Include/XnHash.h:145:65: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnHash.h: In member function 'xnl::Hash& xnl::Hash::operator=(const xnl::Hash&)': ../Include/XnHash.h:243:25: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 243 | XN_ASSERT(retVal == XN_STATUS_OK); | ^~~~~~~~~ ../Include/XnHash.h:447:30: error: 'hash' was not declared in this scope; did you mean 'Hash'? 447 | if (m_apBins[hash] != NULL) | ^~~~ | Hash ../Include/XnHash.h:447:39: error: 'NULL' was not declared in this scope 447 | if (m_apBins[hash] != NULL) | ^~~~ ../Include/XnHash.h:447:39: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnHash.h: In destructor 'xnl::Hash::~Hash()': ../Include/XnHash.h:251:22: error: 'XnUInt32' was not declared in this scope 251 | for (XnUInt32 i = 0; i < LAST_BIN; ++i) | ^~~~~~~~ ../Include/XnHash.h: In member function 'void xnl::Hash::Init()': ../Include/XnHash.h:467:17: error: 'm_minBin' was not declared in this scope 467 | m_minBin = LAST_BIN; | ^~~~~~~~ ../Include/XnHash.h: At global scope: ../Include/XnHash.h:480:21: error: 'HashCode' in namespace 'xnl' does not name a type 480 | static xnl::HashCode Hash(const XnChar* const& key) | ^~~~~~~~ ../Include/XnHash.h:488:16: error: 'XnInt32' does not name a type 488 | static XnInt32 Compare(const XnChar* const& key1, const XnChar* const& key2) | ^~~~~~~ ../Include/XnHash.h:498:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 498 | typedef KeyValuePair TPair; | ^~~~~~ ../Include/XnHash.h:498:51: error: wrong number of template arguments (1, should be 2) 498 | typedef KeyValuePair TPair; | ^ ../Include/XnHash.h:31:8: note: provided for 'template struct xnl::KeyValuePair' 31 | struct KeyValuePair : private Pair<_Key, _Value> | ^~~~~~~~~~~~ ../Include/XnHash.h:251:38: error: 'i' was not declared in this scope 251 | for (XnUInt32 i = 0; i < LAST_BIN; ++i) | ^ ../Include/XnHash.h:253:44: error: 'NULL' was not declared in this scope 253 | if (m_apBins[i] != NULL) | ^~~~ ../Include/XnHash.h:253:44: note: 'NULL' is defined in header ''; did you forget to '#include '? XnDumpFileWriter.cpp:36:25: error: 'phFile' was not declared in this scope; did you mean 'OpenFile'? 36 | XN_FILE_HANDLE* phFile = (XN_FILE_HANDLE*)xnOSMalloc(sizeof(XN_FILE_HANDLE)); | ^~~~~~ | OpenFile XnDumpFileWriter.cpp:36:50: error: expected primary-expression before ')' token 36 | XN_FILE_HANDLE* phFile = (XN_FILE_HANDLE*)xnOSMalloc(sizeof(XN_FILE_HANDLE)); | ^ ../Include/XnHash.h: In static member function 'static xnl::StringsNodeAllocator::TLinkedNode* xnl::StringsNodeAllocator::Allocate(const TPair&)': ../Include/XnHash.h:503:17: error: 'XnChar' was not declared in this scope; did you mean 'char'? 503 | XnChar* keyCopy = xnOSStrDup(pair.Key()); | ^~~~~~ | char ../Include/XnHash.h: In member function 'xnl::Hash::Iterator xnl::Hash::Begin()': ../Include/XnHash.h:262:43: error: 'm_minBin' was not declared in this scope 262 | return Iterator(m_apBins, m_minBin, m_apBins[m_minBin]->Begin()); | ^~~~~~~~ XnDumpFileWriter.cpp:42:9: error: 'XnChar' was not declared in this scope; did you mean 'char'? 42 | XnChar strFullPath[XN_FILE_MAX_PATH]; | ^~~~~~ | char ../Include/XnHash.h:503:25: error: 'keyCopy' was not declared in this scope 503 | XnChar* keyCopy = xnOSStrDup(pair.Key()); | ^~~~~~~ ../Include/XnHash.h: In member function 'xnl::Hash::ConstIterator xnl::Hash::Begin() const': ../Include/XnHash.h:266:48: error: 'm_minBin' was not declared in this scope 266 | return ConstIterator(m_apBins, m_minBin, m_apBins[m_minBin]->Begin()); | ^~~~~~~~ XnDumpFileWriter.cpp:43:65: error: 'strFullPath' was not declared in this scope 43 | nRetVal = xnLogCreateNewFile(strFileName, bSessionDump, strFullPath, XN_FILE_MAX_PATH, phFile); | ^~~~~~~~~~~ ../Include/XnHash.h:503:51: error: request for member 'Key' in 'pair', which is of non-class type 'const xnl::StringsNodeAllocator::TPair' {aka 'const int'} 503 | XnChar* keyCopy = xnOSStrDup(pair.Key()); | ^~~ ../Include/XnHash.h:503:35: error: there are no arguments to 'xnOSStrDup' that depend on a template parameter, so a declaration of 'xnOSStrDup' must be available [-fpermissive] 503 | XnChar* keyCopy = xnOSStrDup(pair.Key()); | ^~~~~~~~~~ ../Include/XnHash.h: In member function 'XnStatus xnl::Hash::Set(const TKey&, const TValue&)': ../Include/XnHash.h:279:22: error: 'HashCode' is not a member of 'xnl' 279 | xnl::HashCode hash = KeyManager::Hash(key); | ^~~~~~~~ ../Include/XnHash.h:504:32: error: 'NULL' was not declared in this scope 504 | if (keyCopy == NULL) | ^~~~ ../Include/XnHash.h:504:32: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnHash.h:507:64: error: request for member 'Value' in 'pair', which is of non-class type 'const xnl::StringsNodeAllocator::TPair' {aka 'const int'} 507 | return XN_NEW(TLinkedNode, TPair(keyCopy, pair.Value())); | ^~~~~ ../Include/XnOS.h:323:58: note: in definition of macro 'XN_NEW' 323 | #define XN_NEW(type, arg) new type(arg) | ^~~ ../Include/XnHash.h: In static member function 'static void xnl::StringsNodeAllocator::Deallocate(TLinkedNode*)': ../Include/XnHash.h:511:36: error: 'NULL' was not declared in this scope 511 | XN_ASSERT(pNode != NULL); | ^~~~ ../Include/XnHash.h:511:36: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnHash.h:511:17: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 511 | XN_ASSERT(pNode != NULL); | ^~~~~~~~~ ../Include/XnHash.h:512:40: error: request for member 'Key' in 'pNode->value', which is of non-class type 'int' 512 | XN_ASSERT(pNode->value.Key() != NULL); | ^~~ ../Include/XnHash.h:512:17: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 512 | XN_ASSERT(pNode->value.Key() != NULL); | ^~~~~~~~~ ../Include/XnHash.h:514:39: error: request for member 'Key' in 'pNode->value', which is of non-class type 'int' 514 | xnOSFree(pNode->value.Key()); | ^~~ ../Include/XnHash.h:514:17: error: there are no arguments to 'xnOSFree' that depend on a template parameter, so a declaration of 'xnOSFree' must be available [-fpermissive] 514 | xnOSFree(pNode->value.Key()); | ^~~~~~~~ ../Include/XnHash.h: At global scope: ../Include/XnHash.h:520:39: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 520 | class StringsHash : public Hash > | ^~~~~~ ../Include/XnHash.h:520:108: error: wrong number of template arguments (1, should be at least 2) 520 | class StringsHash : public Hash > | ^ ../Include/XnHash.h:71:7: note: provided for 'template class xnl::Hash' 71 | class Hash | ^~~~ ../Include/XnHash.h:522:28: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 522 | typedef Hash > Base; | ^~~~~~ ../Include/XnHash.h:522:97: error: wrong number of template arguments (1, should be at least 2) 522 | typedef Hash > Base; | ^ ../Include/XnHash.h:71:7: note: provided for 'template class xnl::Hash' 71 | class Hash | ^~~~ ../Include/XnHash.h: In constructor 'xnl::StringsHash::StringsHash()': ../Include/XnHash.h:524:25: error: 'typedef int xnl::StringsHash::Base' is not a non-static data member of 'xnl::StringsHash' 524 | StringsHash() : Base() {} | ^~~~ ../Include/XnHash.h: In copy constructor 'xnl::StringsHash::StringsHash(const xnl::StringsHash&)': ../Include/XnHash.h:526:49: error: 'typedef int xnl::StringsHash::Base' is not a non-static data member of 'xnl::StringsHash' 526 | StringsHash(const StringsHash& other) : Base() | ^~~~ ../Include/XnHash.h: In member function 'xnl::StringsHash& xnl::StringsHash::operator=(const xnl::StringsHash&)': ../Include/XnHash.h:533:33: error: qualified-id in declaration before '(' token 533 | Base::operator =(other); | ^ ../Include/XnHash.h:281:30: error: 'hash' was not declared in this scope; did you mean 'Hash'? 281 | if (m_apBins[hash] == NULL) | ^~~~ | Hash ../Include/XnHash.h:281:39: error: 'NULL' was not declared in this scope 281 | if (m_apBins[hash] == NULL) | ^~~~ ../Include/XnHash.h:281:39: note: 'NULL' is defined in header ''; did you forget to '#include '? In file included from ../Include/XnErrorLogger.h:26: ../Include/XnOSCpp.h: At global scope: ../Include/XnOSCpp.h:63:9: error: 'XN_CRITICAL_SECTION_HANDLE' does not name a type 63 | XN_CRITICAL_SECTION_HANDLE m_cs; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ XnDumpFileWriter.cpp:43:78: error: 'XN_FILE_MAX_PATH' was not declared in this scope 43 | nRetVal = xnLogCreateNewFile(strFileName, bSessionDump, strFullPath, XN_FILE_MAX_PATH, phFile); | ^~~~~~~~~~~~~~~~ ../Include/XnHash.h:283:42: error: 'XN_NEW' was not declared in this scope 283 | m_apBins[hash] = XN_NEW(TPairList); | ^~~~~~ ../Include/XnOSCpp.h: In constructor 'xnl::CriticalSection::CriticalSection()': ../Include/XnOSCpp.h:41:44: error: 'm_cs' was not declared in this scope 41 | xnOSCreateCriticalSection(&m_cs); | ^~~~ XnDumpFileWriter.cpp:43:19: error: 'xnLogCreateNewFile' was not declared in this scope 43 | nRetVal = xnLogCreateNewFile(strFileName, bSessionDump, strFullPath, XN_FILE_MAX_PATH, phFile); | ^~~~~~~~~~~~~~~~~~ ../Include/XnHash.h:285:36: error: 'm_minBin' was not declared in this scope 285 | if (hash < m_minBin) | ^~~~~~~~ ../Include/XnOSCpp.h:41:17: error: 'xnOSCreateCriticalSection' was not declared in this scope 41 | xnOSCreateCriticalSection(&m_cs); | ^~~~~~~~~~~~~~~~~~~~~~~~~ XnDumpFileWriter.cpp:47:17: error: 'xnLogWarning' was not declared in this scope 47 | xnLogWarning(XN_MASK_LOG, "Couldn't create dump file %s! Dump will not be written", strFileName); | ^~~~~~~~~~~~ XnDumpFileWriter.cpp: At global scope: XnDumpFileWriter.cpp:57:81: error: 'XnUInt32' has not been declared 57 | void XnDumpFileWriter::Write(XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize) | ^~~~~~~~ ../Include/XnHash.h:290:65: error: 'hash' was not declared in this scope; did you mean 'Hash'? 290 | for (typename TPairList::Iterator it = m_apBins[hash]->Begin(); it != m_apBins[hash]->End(); ++it) | ^~~~ | Hash ../Include/XnOSCpp.h: In destructor 'xnl::CriticalSection::~CriticalSection()': ../Include/XnOSCpp.h:46:43: error: 'm_cs' was not declared in this scope 46 | xnOSCloseCriticalSection(&m_cs); | ^~~~ ../Include/XnHash.h:300:33: error: 'hash' was not declared in this scope; did you mean 'Hash'? 300 | return m_apBins[hash]->AddLast(TPair(key, value)); | ^~~~ | Hash XnDumpFileWriter.cpp: In member function 'virtual void XnDumpFileWriter::Write(XnDumpWriterFileHandle, const void*, int)': XnDumpFileWriter.cpp:59:9: error: 'XN_FILE_HANDLE' was not declared in this scope; did you mean 'XN_SOCKET_HANDLE'? 59 | XN_FILE_HANDLE* phFileOS = (XN_FILE_HANDLE*)hFile.pInternal; | ^~~~~~~~~~~~~~ | XN_SOCKET_HANDLE ../Include/XnHash.h: In member function 'xnl::Hash::ConstIterator xnl::Hash::Find(const TKey&) const': ../Include/XnHash.h:305:17: error: 'XnUInt32' was not declared in this scope 305 | XnUInt32 bin = LAST_BIN; | ^~~~~~~~ XnDumpFileWriter.cpp:59:25: error: 'phFileOS' was not declared in this scope; did you mean 'hFile'? 59 | XN_FILE_HANDLE* phFileOS = (XN_FILE_HANDLE*)hFile.pInternal; | ^~~~~~~~ | hFile XnDumpFileWriter.cpp:59:52: error: expected primary-expression before ')' token 59 | XN_FILE_HANDLE* phFileOS = (XN_FILE_HANDLE*)hFile.pInternal; | ^ ../Include/XnOSCpp.h:46:17: error: 'xnOSCloseCriticalSection' was not declared in this scope 46 | xnOSCloseCriticalSection(&m_cs); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnHash.h:307:31: error: 'bin' was not declared in this scope 307 | if (Find(key, bin, it)) | ^~~ XnDumpFileWriter.cpp:60:9: error: 'xnOSWriteFile' was not declared in this scope 60 | xnOSWriteFile(*phFileOS, pBuffer, nBufferSize); | ^~~~~~~~~~~~~ ../Include/XnOSCpp.h: In member function 'void xnl::CriticalSection::Lock()': ../Include/XnOSCpp.h:51:43: error: 'm_cs' was not declared in this scope 51 | xnOSEnterCriticalSection(&m_cs); | ^~~~ ../Include/XnHash.h: In member function 'xnl::Hash::Iterator xnl::Hash::Find(const TKey&)': ../Include/XnHash.h:315:17: error: 'XnUInt32' was not declared in this scope 315 | XnUInt32 bin = LAST_BIN; | ^~~~~~~~ XnDumpFileWriter.cpp: In member function 'virtual void XnDumpFileWriter::CloseFile(XnDumpWriterFileHandle)': XnDumpFileWriter.cpp:65:9: error: 'XN_FILE_HANDLE' was not declared in this scope; did you mean 'XN_SOCKET_HANDLE'? 65 | XN_FILE_HANDLE* phFileOS = (XN_FILE_HANDLE*)hFile.pInternal; | ^~~~~~~~~~~~~~ | XN_SOCKET_HANDLE ../Include/XnHash.h:317:31: error: 'bin' was not declared in this scope 317 | if (Find(key, bin, it)) | ^~~ ../Include/XnOSCpp.h:51:17: error: 'xnOSEnterCriticalSection' was not declared in this scope 51 | xnOSEnterCriticalSection(&m_cs); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnHash.h: In member function 'TValue& xnl::Hash::operator[](const TKey&)': ../Include/XnHash.h:385:25: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 385 | XN_ASSERT(retVal == XN_STATUS_OK); | ^~~~~~~~~ ../Include/XnHash.h: In member function 'XnStatus xnl::Hash::Remove(ConstIterator)': ../Include/XnHash.h:398:25: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 398 | XN_ASSERT(false); | ^~~~~~~~~ ../Include/XnHash.h:403:53: error: 'NULL' was not declared in this scope 403 | XN_ASSERT(m_apBins[it.m_currBin] != NULL); | ^~~~ ../Include/XnHash.h:403:53: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnHash.h: In member function 'bool xnl::Hash::Find(const TKey&, int&, typename TPairList::ConstIterator&) const': ../Include/XnHash.h:445:22: error: 'HashCode' is not a member of 'xnl' 445 | xnl::HashCode hash = KeyManager::Hash(key); | ^~~~~~~~ XnDumpFileWriter.cpp:65:25: error: 'phFileOS' was not declared in this scope; did you mean 'hFile'? 65 | XN_FILE_HANDLE* phFileOS = (XN_FILE_HANDLE*)hFile.pInternal; | ^~~~~~~~ | hFile XnDumpFileWriter.cpp:65:52: error: expected primary-expression before ')' token 65 | XN_FILE_HANDLE* phFileOS = (XN_FILE_HANDLE*)hFile.pInternal; | ^ ../Include/XnOSCpp.h: In member function 'void xnl::CriticalSection::Unlock()': ../Include/XnOSCpp.h:55:43: error: 'm_cs' was not declared in this scope 55 | xnOSLeaveCriticalSection(&m_cs); | ^~~~ ../Include/XnHash.h:447:30: error: 'hash' was not declared in this scope; did you mean 'Hash'? 447 | if (m_apBins[hash] != NULL) | ^~~~ | Hash ../Include/XnHash.h:447:39: error: 'NULL' was not declared in this scope 447 | if (m_apBins[hash] != NULL) | ^~~~ ../Include/XnHash.h:447:39: note: 'NULL' is defined in header ''; did you forget to '#include '? XnDumpFileWriter.cpp:66:9: error: 'xnOSCloseFile' was not declared in this scope; did you mean 'CloseFile'? 66 | xnOSCloseFile(phFileOS); | ^~~~~~~~~~~~~ | CloseFile ../Include/XnHash.h: In member function 'void xnl::Hash::Init()': ../Include/XnHash.h:467:17: error: 'm_minBin' was not declared in this scope 467 | m_minBin = LAST_BIN; | ^~~~~~~~ ../Include/XnHash.h: At global scope: ../Include/XnHash.h:480:21: error: 'HashCode' in namespace 'xnl' does not name a type 480 | static xnl::HashCode Hash(const XnChar* const& key) | ^~~~~~~~ ../Include/XnOSCpp.h:55:17: error: 'xnOSLeaveCriticalSection' was not declared in this scope 55 | xnOSLeaveCriticalSection(&m_cs); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnOSCpp.h: At global scope: ../Include/XnOSCpp.h:78:47: error: expected ')' before 'hMutex' 78 | inline AutoMutexLocker(XN_MUTEX_HANDLE hMutex, XnUInt32 nMilliseconds) : m_hMutex(hMutex) | ~ ^~~~~~~ | ) XnDumpFileWriter.cpp:67:9: error: 'xnOSFree' was not declared in this scope 67 | xnOSFree(phFileOS); | ^~~~~~~~ ../Include/XnHash.h:488:16: error: 'XnInt32' does not name a type 488 | static XnInt32 Compare(const XnChar* const& key1, const XnChar* const& key2) | ^~~~~~~ ../Include/XnHash.h:498:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 498 | typedef KeyValuePair TPair; | ^~~~~~ ../Include/XnHash.h:498:51: error: wrong number of template arguments (1, should be 2) 498 | typedef KeyValuePair TPair; | ^ ../Include/XnHash.h:31:8: note: provided for 'template struct xnl::KeyValuePair' 31 | struct KeyValuePair : private Pair<_Key, _Value> | ^~~~~~~~~~~~ ../Include/XnOSCpp.h:98:9: error: 'XN_MUTEX_HANDLE' does not name a type; did you mean 'XN_SOCKET_HANDLE'? 98 | XN_MUTEX_HANDLE m_hMutex; | ^~~~~~~~~~~~~~~ | XN_SOCKET_HANDLE ../Include/XnDump.h: At global scope: ../Include/XnDump.h:160:14: warning: 'XN_DUMP_CLOSED' defined but not used [-Wunused-variable] 160 | const XnDump XN_DUMP_CLOSED = { XN_INVALID_FILE_HANDLE }; | ^~~~~~~~~~~~~~ ../Include/XnHash.h: In static member function 'static xnl::StringsNodeAllocator::TLinkedNode* xnl::StringsNodeAllocator::Allocate(const TPair&)': ../Include/XnHash.h:503:17: error: 'XnChar' was not declared in this scope; did you mean 'char'? 503 | XnChar* keyCopy = xnOSStrDup(pair.Key()); | ^~~~~~ | char ../Include/XnOSCpp.h: In destructor 'xnl::AutoMutexLocker::~AutoMutexLocker()': ../Include/XnOSCpp.h:93:41: error: 'm_hMutex' was not declared in this scope 93 | xnOSUnLockMutex(m_hMutex); | ^~~~~~~~ ../Include/XnHash.h:503:25: error: 'keyCopy' was not declared in this scope 503 | XnChar* keyCopy = xnOSStrDup(pair.Key()); | ^~~~~~~ ../Include/XnHash.h:503:51: error: request for member 'Key' in 'pair', which is of non-class type 'const xnl::StringsNodeAllocator::TPair' {aka 'const int'} 503 | XnChar* keyCopy = xnOSStrDup(pair.Key()); | ^~~ ../Include/XnHash.h:503:35: error: there are no arguments to 'xnOSStrDup' that depend on a template parameter, so a declaration of 'xnOSStrDup' must be available [-fpermissive] 503 | XnChar* keyCopy = xnOSStrDup(pair.Key()); | ^~~~~~~~~~ ../Include/XnHash.h:504:32: error: 'NULL' was not declared in this scope 504 | if (keyCopy == NULL) | ^~~~ ../Include/XnHash.h:504:32: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnHash.h:507:64: error: request for member 'Value' in 'pair', which is of non-class type 'const xnl::StringsNodeAllocator::TPair' {aka 'const int'} 507 | return XN_NEW(TLinkedNode, TPair(keyCopy, pair.Value())); | ^~~~~ ../Include/XnOS.h:323:58: note: in definition of macro 'XN_NEW' 323 | #define XN_NEW(type, arg) new type(arg) | ^~~ ../Include/XnOSCpp.h:93:25: error: 'xnOSUnLockMutex' was not declared in this scope 93 | xnOSUnLockMutex(m_hMutex); | ^~~~~~~~~~~~~~~ ../Include/XnHash.h: In static member function 'static void xnl::StringsNodeAllocator::Deallocate(TLinkedNode*)': ../Include/XnHash.h:511:36: error: 'NULL' was not declared in this scope 511 | XN_ASSERT(pNode != NULL); | ^~~~ ../Include/XnHash.h:511:36: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnOSCpp.h: At global scope: ../Include/XnOSCpp.h:116:55: error: expected ')' before 'handle' 116 | inline AutoCSLocker(XN_CRITICAL_SECTION_HANDLE handle) : m_cs(handle), m_locked(FALSE) | ~ ^~~~~~~ | ) ../Include/XnHash.h:511:17: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 511 | XN_ASSERT(pNode != NULL); | ^~~~~~~~~ ../Include/XnHash.h:512:40: error: request for member 'Key' in 'pNode->value', which is of non-class type 'int' 512 | XN_ASSERT(pNode->value.Key() != NULL); | ^~~ ../Include/XnHash.h:512:17: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 512 | XN_ASSERT(pNode->value.Key() != NULL); | ^~~~~~~~~ ../Include/XnHash.h:514:39: error: request for member 'Key' in 'pNode->value', which is of non-class type 'int' 514 | xnOSFree(pNode->value.Key()); | ^~~ ../Include/XnHash.h:514:17: error: there are no arguments to 'xnOSFree' that depend on a template parameter, so a declaration of 'xnOSFree' must be available [-fpermissive] 514 | xnOSFree(pNode->value.Key()); | ^~~~~~~~ ../Include/XnHash.h: At global scope: ../Include/XnHash.h:520:39: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 520 | class StringsHash : public Hash > | ^~~~~~ ../Include/XnHash.h:520:108: error: wrong number of template arguments (1, should be at least 2) 520 | class StringsHash : public Hash > | ^ ../Include/XnHash.h:71:7: note: provided for 'template class xnl::Hash' 71 | class Hash | ^~~~ ../Include/XnHash.h:522:28: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 522 | typedef Hash > Base; | ^~~~~~ ../Include/XnHash.h:522:97: error: wrong number of template arguments (1, should be at least 2) 522 | typedef Hash > Base; | ^ ../Include/XnHash.h:71:7: note: provided for 'template class xnl::Hash' 71 | class Hash | ^~~~ ../Include/XnOSCpp.h:146:9: error: 'XN_CRITICAL_SECTION_HANDLE' does not name a type 146 | XN_CRITICAL_SECTION_HANDLE m_cs; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnHash.h: In constructor 'xnl::StringsHash::StringsHash()': ../Include/XnHash.h:524:25: error: 'typedef int xnl::StringsHash::Base' is not a non-static data member of 'xnl::StringsHash' 524 | StringsHash() : Base() {} | ^~~~ ../Include/XnOSCpp.h: In copy constructor 'xnl::AutoCSLocker::AutoCSLocker(const xnl::AutoCSLocker&)': ../Include/XnOSCpp.h:105:58: error: class 'xnl::AutoCSLocker' does not have any field named 'm_cs' 105 | inline AutoCSLocker(const AutoCSLocker& other) : m_cs(other.m_cs), m_locked(FALSE) | ^~~~ ../Include/XnOSCpp.h:105:69: error: 'const class xnl::AutoCSLocker' has no member named 'm_cs' 105 | inline AutoCSLocker(const AutoCSLocker& other) : m_cs(other.m_cs), m_locked(FALSE) | ^~~~ ../Include/XnHash.h: In copy constructor 'xnl::StringsHash::StringsHash(const xnl::StringsHash&)': ../Include/XnHash.h:526:49: error: 'typedef int xnl::StringsHash::Base' is not a non-static data member of 'xnl::StringsHash' 526 | StringsHash(const StringsHash& other) : Base() | ^~~~ ../Include/XnHash.h: In member function 'xnl::StringsHash& xnl::StringsHash::operator=(const xnl::StringsHash&)': ../Include/XnHash.h:533:33: error: qualified-id in declaration before '(' token 533 | Base::operator =(other); | ^ ../Include/XnStringsHash.h: At global scope: ../Include/XnStringsHash.h:35:21: error: 'HashCode' in namespace 'xnl' does not name a type 35 | static xnl::HashCode Hash(const XnChar* const& key) | ^~~~~~~~ ../Include/XnStringsHash.h:44:16: error: 'XnInt32' does not name a type 44 | static XnInt32 Compare(const XnChar* const& key1, const XnChar* const& key2) | ^~~~~~~ ../Include/XnStringsHash.h:54:41: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 54 | typedef xnl::KeyValuePair TPair; | ^~~~~~ ../Include/XnStringsHash.h:54:56: error: wrong number of template arguments (1, should be 2) 54 | typedef xnl::KeyValuePair TPair; | ^ ../Include/XnHash.h:31:8: note: provided for 'template struct xnl::KeyValuePair' 31 | struct KeyValuePair : private Pair<_Key, _Value> | ^~~~~~~~~~~~ make[1]: *** [../../BuildSystem/CommonCppMakefile:130: ../Bin/Intermediate/Arm64-Release/libXnLib.a/XnDumpFileWriter.o] Error 1 ../Include/XnOSCpp.h: In member function 'xnl::AutoCSLocker& xnl::AutoCSLocker::operator=(const xnl::AutoCSLocker&)': ../Include/XnOSCpp.h:112:17: error: 'm_cs' was not declared in this scope 112 | m_cs = other.m_cs; | ^~~~ ../Include/XnOSCpp.h:112:30: error: 'const class xnl::AutoCSLocker' has no member named 'm_cs' 112 | m_cs = other.m_cs; | ^~~~ ../Include/XnOSCpp.h: In constructor 'xnl::AutoCSLocker::AutoCSLocker(const xnl::CriticalSection&)': ../Include/XnOSCpp.h:120:58: error: class 'xnl::AutoCSLocker' does not have any field named 'm_cs' 120 | inline AutoCSLocker(const CriticalSection& cs) : m_cs(cs.m_cs), m_locked(FALSE) | ^~~~ ../Include/XnOSCpp.h:120:66: error: 'const class xnl::CriticalSection' has no member named 'm_cs' 120 | inline AutoCSLocker(const CriticalSection& cs) : m_cs(cs.m_cs), m_locked(FALSE) | ^~~~ ../Include/XnStringsHash.h: In static member function 'static XnStringsNodeAllocator::TLinkedNode* XnStringsNodeAllocator::Allocate(const TPair&)': ../Include/XnStringsHash.h:59:17: error: 'XnChar' was not declared in this scope; did you mean 'char'? 59 | XnChar* pKeyCopy = xnOSStrDup(pair.Key()); | ^~~~~~ | char ../Include/XnOSCpp.h: In member function 'void xnl::AutoCSLocker::Lock()': ../Include/XnOSCpp.h:133:51: error: 'm_cs' was not declared in this scope 133 | xnOSEnterCriticalSection(&m_cs); | ^~~~ ../Include/XnStringsHash.h:59:25: error: 'pKeyCopy' was not declared in this scope 59 | XnChar* pKeyCopy = xnOSStrDup(pair.Key()); | ^~~~~~~~ ../Include/XnStringsHash.h:59:52: error: request for member 'Key' in 'pair', which is of non-class type 'const XnStringsNodeAllocator::TPair' {aka 'const int'} 59 | XnChar* pKeyCopy = xnOSStrDup(pair.Key()); | ^~~ ../Include/XnStringsHash.h:59:36: error: there are no arguments to 'xnOSStrDup' that depend on a template parameter, so a declaration of 'xnOSStrDup' must be available [-fpermissive] 59 | XnChar* pKeyCopy = xnOSStrDup(pair.Key()); | ^~~~~~~~~~ ../Include/XnStringsHash.h:60:33: error: 'NULL' was not declared in this scope 60 | if (pKeyCopy == NULL) | ^~~~ ../Include/XnStringsHash.h:28:1: note: 'NULL' is defined in header ''; did you forget to '#include '? 27 | #include "XnHash.h" +++ |+#include 28 | ../Include/XnStringsHash.h:65:65: error: request for member 'Value' in 'pair', which is of non-class type 'const XnStringsNodeAllocator::TPair' {aka 'const int'} 65 | return XN_NEW(TLinkedNode, TPair(pKeyCopy, pair.Value())); | ^~~~~ ../Include/XnOS.h:323:58: note: in definition of macro 'XN_NEW' 323 | #define XN_NEW(type, arg) new type(arg) | ^~~ ../Include/XnStringsHash.h: In static member function 'static void XnStringsNodeAllocator::Deallocate(TLinkedNode*)': ../Include/XnStringsHash.h:70:36: error: 'NULL' was not declared in this scope 70 | XN_ASSERT(pNode != NULL); | ^~~~ ../Include/XnStringsHash.h:70:36: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnStringsHash.h:70:17: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 70 | XN_ASSERT(pNode != NULL); | ^~~~~~~~~ ../Include/XnStringsHash.h:71:40: error: request for member 'Key' in 'pNode->value', which is of non-class type 'int' 71 | XN_ASSERT(pNode->value.Key() != NULL); | ^~~ ../Include/XnStringsHash.h:71:17: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 71 | XN_ASSERT(pNode->value.Key() != NULL); | ^~~~~~~~~ ../Include/XnStringsHash.h:73:39: error: request for member 'Key' in 'pNode->value', which is of non-class type 'int' 73 | xnOSFree(pNode->value.Key()); | ^~~ ../Include/XnStringsHash.h:73:17: error: there are no arguments to 'xnOSFree' that depend on a template parameter, so a declaration of 'xnOSFree' must be available [-fpermissive] 73 | xnOSFree(pNode->value.Key()); | ^~~~~~~~ ../Include/XnStringsHash.h: At global scope: ../Include/XnStringsHash.h:79:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 79 | class XnStringsHashT : public xnl::Hash > | ^~~~~~ ../Include/XnStringsHash.h:79:120: error: wrong number of template arguments (1, should be at least 2) 79 | class XnStringsHashT : public xnl::Hash > | ^ ../Include/XnHash.h:71:7: note: provided for 'template class xnl::Hash' 71 | class Hash | ^~~~ ../Include/XnStringsHash.h:81:33: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 81 | typedef xnl::Hash > Base; | ^~~~~~ ../Include/XnStringsHash.h:81:106: error: wrong number of template arguments (1, should be at least 2) 81 | typedef xnl::Hash > Base; | ^ ../Include/XnHash.h:71:7: note: provided for 'template class xnl::Hash' 71 | class Hash | ^~~~ ../Include/XnStringsHash.h: In constructor 'XnStringsHashT::XnStringsHashT()': ../Include/XnStringsHash.h:84:28: error: 'typedef int XnStringsHashT::Base' is not a non-static data member of 'XnStringsHashT' 84 | XnStringsHashT() : Base() {} | ^~~~ ../Include/XnStringsHash.h: In copy constructor 'XnStringsHashT::XnStringsHashT(const XnStringsHashT&)': ../Include/XnStringsHash.h:86:55: error: 'typedef int XnStringsHashT::Base' is not a non-static data member of 'XnStringsHashT' 86 | XnStringsHashT(const XnStringsHashT& other) : Base() | ^~~~ ../Include/XnStringsHash.h: In member function 'XnStringsHashT& XnStringsHashT::operator=(const XnStringsHashT&)': ../Include/XnStringsHash.h:93:32: error: qualified-id in declaration before '(' token 93 | Base::operator=(other); | ^ ../Include/XnStringsHash.h: At global scope: ../Include/XnStringsHash.h:104:28: error: 'XnChar' does not name a type; did you mean 'char'? 104 | XnStatus Set(const XnChar* key) | ^~~~~~ | char ../Include/XnStringsHash.h: In member function 'XnStatus XnStringsSet::Set(const int*)': ../Include/XnStringsHash.h:106:30: error: 'Set' is not a member of 'XnStringsSet::Base' {aka 'XnStringsHashT'} 106 | return Base::Set(key, NULL); | ^~~ ../Include/XnStringsHash.h:106:39: error: 'NULL' was not declared in this scope 106 | return Base::Set(key, NULL); | ^~~~ ../Include/XnStringsHash.h:106:39: note: 'NULL' is defined in header ''; did you forget to '#include '? In file included from XnDump.cpp:27: ../Include/XnLogTypes.h: At global scope: ../Include/XnLogTypes.h:60:9: error: 'XnUInt64' does not name a type 60 | XnUInt64 nTimestamp; | ^~~~~~~~ ../Include/XnLogTypes.h:62:15: error: 'XnChar' does not name a type; did you mean 'char'? 62 | const XnChar* strSeverity; | ^~~~~~ | char ../Include/XnLogTypes.h:63:15: error: 'XnChar' does not name a type; did you mean 'char'? 63 | const XnChar* strMask; | ^~~~~~ | char ../Include/XnOSCpp.h:133:25: error: 'xnOSEnterCriticalSection' was not declared in this scope 133 | xnOSEnterCriticalSection(&m_cs); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnLogTypes.h:64:15: error: 'XnChar' does not name a type; did you mean 'char'? 64 | const XnChar* strMessage; | ^~~~~~ | char ../Include/XnLogTypes.h:65:15: error: 'XnChar' does not name a type; did you mean 'char'? 65 | const XnChar* strFile; | ^~~~~~ | char ../Include/XnLogTypes.h:66:9: error: 'XnUInt32' does not name a type 66 | XnUInt32 nLine; | ^~~~~~~~ ../Include/XnLogTypes.h:72:31: error: expected ')' before '*' token 72 | void (XN_CALLBACK_TYPE* WriteEntry)(const XnLogEntry* pEntry, void* pCookie); | ~ ^ | ) ../Include/XnLogTypes.h:73:31: error: expected ')' before '*' token 73 | void (XN_CALLBACK_TYPE* WriteUnformatted)(const XnChar* strMessage, void* pCookie); | ~ ^ | ) ../Include/XnLogTypes.h:74:31: error: expected ')' before '*' token 74 | void (XN_CALLBACK_TYPE* OnConfigurationChanged)(void* pCookie); | ~ ^ | ) ../Include/XnLogTypes.h:75:31: error: expected ')' before '*' token 75 | void (XN_CALLBACK_TYPE* OnClosing)(void* pCookie); | ~ ^ | ) ../Include/XnLog.h:41:29: error: expected initializer before 'xnLogInitFromINIFile' 41 | XN_C_API XnStatus XN_C_DECL xnLogInitFromINIFile(const XnChar* csINIFile, const XnChar* csSectionName); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:46:29: error: expected initializer before 'xnLogClose' 46 | XN_C_API XnStatus XN_C_DECL xnLogClose(); | ^~~~~~~~~~ ../Include/XnLog.h:62:29: error: expected initializer before 'xnLogSetMaskMinSeverity' 62 | XN_C_API XnStatus XN_C_DECL xnLogSetMaskMinSeverity(const XnChar* strMask, XnLogSeverity minSeverity); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:71:34: error: expected initializer before 'xnLogGetMaskMinSeverity' 71 | XN_C_API XnLogSeverity XN_C_DECL xnLogGetMaskMinSeverity(const XnChar* strMask); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:87:29: error: expected initializer before 'xnLogRegisterLogWriter' 87 | XN_C_API XnStatus XN_C_DECL xnLogRegisterLogWriter(XnLogWriter* pWriter); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:94:25: error: expected initializer before 'xnLogUnregisterLogWriter' 94 | XN_C_API void XN_C_DECL xnLogUnregisterLogWriter(XnLogWriter* pWriter); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:101:29: error: expected initializer before 'xnLogSetConsoleOutput' 101 | XN_C_API XnStatus XN_C_DECL xnLogSetConsoleOutput(XnBool bConsoleOutput); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:108:29: error: expected initializer before 'xnLogSetFileOutput' 108 | XN_C_API XnStatus XN_C_DECL xnLogSetFileOutput(XnBool bFileOutput); | ^~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:129:29: error: expected initializer before 'xnLogStartNewFile' 129 | XN_C_API XnStatus XN_C_DECL xnLogStartNewFile(); | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:136:29: error: expected initializer before 'xnLogSetLineInfo' 136 | XN_C_API XnStatus XN_C_DECL xnLogSetLineInfo(XnBool bLineInfo); | ^~~~~~~~~~~~~~~~ ../Include/XnLog.h:143:29: error: expected initializer before 'xnLogSetOutputFolder' 143 | XN_C_API XnStatus XN_C_DECL xnLogSetOutputFolder(const XnChar* strOutputFolder); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:151:29: error: expected initializer before 'xnLogGetFileName' 151 | XN_C_API XnStatus XN_C_DECL xnLogGetFileName(XnChar* strFileName, XnUInt32 nBufferSize); | ^~~~~~~~~~~~~~~~ ../Include/XnLog.h:166:30: error: expected initializer before 'xnLoggerOpen' 166 | XN_C_API XnLogger* XN_C_DECL xnLoggerOpen(const XnChar* strMask); | ^~~~~~~~~~~~ ../Include/XnLog.h:180:25: error: expected initializer before 'xnLoggerWrite' 180 | XN_C_API void XN_C_DECL xnLoggerWrite(XnLogger* pLogger, XnLogSeverity severity, const XnChar* strFile, XnUInt32 nLine, const XnChar* strFormat, ...); | ^~~~~~~~~~~~~ ../Include/XnLog.h:189:25: error: expected initializer before 'xnLoggerWriteNoEntry' 189 | XN_C_API void XN_C_DECL xnLoggerWriteNoEntry(XnLogger* pLogger, XnLogSeverity severity, const XnChar* strFormat, ...); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:202:25: error: expected initializer before 'xnLoggerWriteBinaryData' 202 | XN_C_API void XN_C_DECL xnLoggerWriteBinaryData(XnLogger* pLogger, XnLogSeverity severity, const XnChar* strFile, XnUInt32 nLine, XnUChar* pBinData, XnUInt32 nDataSize, const XnChar* strFormat, ...); | ^~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:210:10: error: 'XnBool' does not name a type; did you mean 'bool'? 210 | XN_C_API XnBool XN_C_DECL xnLoggerIsEnabled(XnLogger* pLogger, XnLogSeverity severity); | ^~~~~~ | bool ../Include/XnLog.h:217:25: error: expected initializer before '_xnLoggerClose' 217 | XN_C_API void XN_C_DECL _xnLoggerClose(XnLogger* pLogger); | ^~~~~~~~~~~~~~ ../Include/XnLog.h:395:29: error: expected initializer before 'xnLogCreateNewFile' 395 | XN_C_API XnStatus XN_C_DECL xnLogCreateNewFile(const XnChar* strName, XnBool bSessionBased, XnChar* csFullPath, XnUInt32 nPathBufferSize, XN_FILE_HANDLE* phFile); | ^~~~~~~~~~~~~~~~~~ ../Include/XnOSCpp.h: In member function 'void xnl::AutoCSLocker::Unlock()': ../Include/XnOSCpp.h:141:51: error: 'm_cs' was not declared in this scope 141 | xnOSLeaveCriticalSection(&m_cs); | ^~~~ ../Include/XnLog.h:427:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 427 | XN_C_API XnStatus XN_API_DEPRECATED("Please use xnLogSetMaskMinSeverity() instead") XN_C_DECL xnLogSetMaskState(const XnChar* csMask, XnBool bEnabled); | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:427:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:428:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 428 | XN_C_API XnStatus XN_API_DEPRECATED("Please use xnLogSetMaskMinSeverity() instead") XN_C_DECL xnLogSetSeverityFilter(XnLogSeverity nMinSeverity); | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:428:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:429:10: error: 'XnBool' does not name a type; did you mean 'bool'? 429 | XN_C_API XnBool XN_C_DECL xnLogIsEnabled(const XnChar* csLogMask, XnLogSeverity nSeverity); | ^~~~~~ | bool ../Include/XnLog.h:430:25: error: expected initializer before 'xnLogWrite' 430 | XN_C_API void XN_C_DECL xnLogWrite(const XnChar* csLogMask, XnLogSeverity nSeverity, const XnChar* csFile, XnUInt32 nLine, const XnChar* csFormat, ...); | ^~~~~~~~~~ ../Include/XnLog.h:431:25: error: expected initializer before 'xnLogWriteNoEntry' 431 | XN_C_API void XN_C_DECL xnLogWriteNoEntry(const XnChar* csLogMask, XnLogSeverity nSeverity, const XnChar* csFormat, ...); | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:432:25: error: expected initializer before 'xnLogWriteBinaryData' 432 | XN_C_API void XN_C_DECL xnLogWriteBinaryData(const XnChar* csLogMask, XnLogSeverity nSeverity, const XnChar* csFile, XnUInt32 nLine, XnUChar* pBinData, XnUInt32 nDataSize, const XnChar* csFormat, ...); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnLog.h:433:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 433 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnLogCreateNewFile() instead") XN_C_DECL xnLogCreateFile(const XnChar* strFileName, XN_FILE_HANDLE* phFile); | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:433:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:434:19: warning: 'XN_API_DEPRECATED' initialized and declared 'extern' 434 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnLogCreateNewFile() instead") XN_C_DECL xnLogCreateFileEx(const XnChar* strFileName, XnBool bSessionBased, XN_FILE_HANDLE* phFile); | ^~~~~~~~~~~~~~~~~ ../Include/XnLog.h:434:19: error: redefinition of 'XnStatus XN_API_DEPRECATED' ../Include/XnOS.h:444:19: note: 'XnStatus XN_API_DEPRECATED' previously declared here 444 | XN_C_API XnStatus XN_API_DEPRECATED("Use xnOSSeekFile64() instead") XN_C_DECL | ^~~~~~~~~~~~~~~~~ In file included from XnDump.cpp:30: ../Include/XnArray.h:47:23: error: expected ')' before 'nBaseSize' 47 | Array(XnUInt32 nBaseSize = BASE_SIZE) | ~ ^~~~~~~~~~ | ) ../Include/XnArray.h:83:42: error: 'XnUInt32' has not been declared 83 | XnStatus SetData(const T* pData, XnUInt32 nSize) | ^~~~~~~~ ../Include/XnArray.h:109:26: error: 'XnUInt32' has not been declared 109 | XnStatus Reserve(XnUInt32 nReservedSize) | ^~~~~~~~ ../Include/XnArray.h:143:9: error: 'XnBool' does not name a type; did you mean 'bool'? 143 | XnBool IsEmpty() const | ^~~~~~ | bool ../Include/XnArray.h:149:9: error: 'XnUInt32' does not name a type 149 | XnUInt32 GetSize() const | ^~~~~~~~ ../Include/XnArray.h:156:26: error: 'XnUInt32' has not been declared 156 | XnStatus SetSize(XnUInt32 nSize) | ^~~~~~~~ ../Include/XnArray.h:167:26: error: 'XnUInt32' has not been declared 167 | XnStatus SetSize(XnUInt32 nSize, const T& fillVal) | ^~~~~~~~ ../Include/XnArray.h:179:29: error: 'XnUInt32' has not been declared 179 | XnStatus SetMinSize(XnUInt32 nSize) | ^~~~~~~~ ../Include/XnArray.h:193:29: error: 'XnUInt32' has not been declared 193 | XnStatus SetMinSize(XnUInt32 nSize, const T& fillVal) | ^~~~~~~~ ../Include/XnArray.h:211:9: error: 'XnUInt32' does not name a type 211 | XnUInt32 GetAllocatedSize() const | ^~~~~~~~ ../Include/XnArray.h:219:22: error: 'XnUInt32' has not been declared 219 | XnStatus Set(XnUInt32 nIndex, const T& val) | ^~~~~~~~ ../Include/XnArray.h:228:22: error: 'XnUInt32' has not been declared 228 | XnStatus Set(XnUInt32 nIndex, const T& val, const T& fillVal) | ^~~~~~~~ ../Include/XnArray.h:243:44: error: 'XnUInt32' has not been declared 243 | XnStatus AddLast(const T* aValues, XnUInt32 nCount) | ^~~~~~~~ ../Include/XnArray.h:270:23: error: 'XnUInt32' has not been declared 270 | T& operator[](XnUInt32 nIndex) | ^~~~~~~~ ../Include/XnArray.h:277:29: error: 'XnUInt32' has not been declared 277 | const T& operator[](XnUInt32 nIndex) const | ^~~~~~~~ ../Include/XnArray.h:308:19: error: 'XnUInt32' has not been declared 308 | void Init(XnUInt32 nBaseSize = BASE_SIZE) | ^~~~~~~~ ../Include/XnOSCpp.h:141:25: error: 'xnOSLeaveCriticalSection' was not declared in this scope 141 | xnOSLeaveCriticalSection(&m_cs); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../Include/XnArray.h:316:9: error: 'XnUInt32' does not name a type 316 | XnUInt32 m_nSize; | ^~~~~~~~ ../Include/XnOSCpp.h: At global scope: ../Include/XnOSCpp.h:153:16: error: 'XnUInt64' does not name a type 153 | static XnUInt64 Now() | ^~~~~~~~ ../Include/XnArray.h:317:9: error: 'XnUInt32' does not name a type 317 | XnUInt32 m_nAllocatedSize; | ^~~~~~~~ ../Include/XnOSCpp.h:176:18: error: expected type-specifier before 'XN_EVENT_HANDLE' 176 | operator XN_EVENT_HANDLE() const | ^~~~~~~~~~~~~~~ ../Include/XnOSCpp.h:181:25: error: 'XnBool' has not been declared 181 | XnStatus Create(XnBool bManualReset) | ^~~~~~ ../Include/XnArray.h: In copy constructor 'xnl::Array::Array(const xnl::Array&)': ../Include/XnArray.h:53:45: error: 'NULL' was not declared in this scope 53 | Array(const Array& other) : m_pData(NULL), m_nSize(0), m_nAllocatedSize(0) | ^~~~ ../Include/XnArray.h:27:1: note: 'NULL' is defined in header ''; did you forget to '#include '? 26 | #include +++ |+#include 27 | ../Include/XnArray.h:53:52: error: class 'xnl::Array' does not have any field named 'm_nSize' 53 | Array(const Array& other) : m_pData(NULL), m_nSize(0), m_nAllocatedSize(0) | ^~~~~~~ ../Include/XnArray.h:53:64: error: class 'xnl::Array' does not have any field named 'm_nAllocatedSize' 53 | Array(const Array& other) : m_pData(NULL), m_nSize(0), m_nAllocatedSize(0) | ^~~~~~~~~~~~~~~~ ../Include/XnOSCpp.h:186:31: error: 'XnChar' does not name a type; did you mean 'char'? 186 | XnStatus Create(const XnChar* strName, XnBool bManualReset, XnBool bAllowOtherUsers = FALSE) | ^~~~~~ | char ../Include/XnOSCpp.h:186:48: error: 'XnBool' has not been declared 186 | XnStatus Create(const XnChar* strName, XnBool bManualReset, XnBool bAllowOtherUsers = FALSE) | ^~~~~~ ../Include/XnOSCpp.h:186:69: error: 'XnBool' has not been declared 186 | XnStatus Create(const XnChar* strName, XnBool bManualReset, XnBool bAllowOtherUsers = FALSE) | ^~~~~~ ../Include/XnOSCpp.h:191:29: error: 'XnChar' does not name a type; did you mean 'char'? 191 | XnStatus Open(const XnChar* strName, XnBool bEnableOtherUsers = FALSE) | ^~~~~~ | char ../Include/XnOSCpp.h:191:46: error: 'XnBool' has not been declared 191 | XnStatus Open(const XnChar* strName, XnBool bEnableOtherUsers = FALSE) | ^~~~~~ ../Include/XnOSCpp.h:211:23: error: 'XnUInt32' has not been declared 211 | XnStatus Wait(XnUInt32 nMilliseconds) | ^~~~~~~~ ../Include/XnOSCpp.h:217:9: error: 'XN_EVENT_HANDLE' does not name a type; did you mean 'XN_SOCKET_HANDLE'? 217 | XN_EVENT_HANDLE m_hEvent; | ^~~~~~~~~~~~~~~ | XN_SOCKET_HANDLE ../Include/XnOSCpp.h: In constructor 'xnl::OSEvent::OSEvent()': ../Include/XnOSCpp.h:169:21: error: class 'xnl::OSEvent' does not have any field named 'm_hEvent' 169 | OSEvent() : m_hEvent(NULL) {} | ^~~~~~~~ ../Include/XnOSCpp.h:169:30: error: 'NULL' was not declared in this scope 169 | OSEvent() : m_hEvent(NULL) {} | ^~~~ ../Include/XnOSCpp.h:1:1: note: 'NULL' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | /***************************************************************************** ../Include/XnArray.h: In member function 'XnStatus xnl::Array::SetData(const T*, int)': ../Include/XnArray.h:88:22: error: 'XnUInt32' was not declared in this scope 88 | for (XnUInt32 i = 0; i < nSize; i++) | ^~~~~~~~ ../Include/XnOSCpp.h: In member function 'XnStatus xnl::OSEvent::Create(int)': ../Include/XnOSCpp.h:183:41: error: 'm_hEvent' was not declared in this scope 183 | return xnOSCreateEvent(&m_hEvent, bManualReset); | ^~~~~~~~ ../Include/XnArray.h:88:38: error: 'i' was not declared in this scope 88 | for (XnUInt32 i = 0; i < nSize; i++) | ^ ../Include/XnOSCpp.h:183:24: error: 'xnOSCreateEvent' was not declared in this scope 183 | return xnOSCreateEvent(&m_hEvent, bManualReset); | ^~~~~~~~~~~~~~~ ../Include/XnArray.h: In member function 'XnStatus xnl::Array::Reserve(int)': ../Include/XnArray.h:111:37: error: 'm_nAllocatedSize' was not declared in this scope 111 | if (nReservedSize > m_nAllocatedSize) | ^~~~~~~~~~~~~~~~ In file included from ../Include/XnOS.h:28: ../Include/XnMacros.h:98:26: error: 'NULL' was not declared in this scope 98 | if (x == NULL) \ | ^~~~ ../Include/XnOS.h:121:34: note: in expansion of macro 'XN_VALIDATE_PTR' 121 | #define XN_VALIDATE_ALLOC_PTR(x) XN_VALIDATE_PTR(x, XN_STATUS_ALLOC_FAILED) | ^~~~~~~~~~~~~~~ ../Include/XnArray.h:124:25: note: in expansion of macro 'XN_VALIDATE_ALLOC_PTR' 124 | XN_VALIDATE_ALLOC_PTR(pNewData); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOSCpp.h: In member function 'XnStatus xnl::OSEvent::Create(const int*, int, int)': ../Include/XnOSCpp.h:188:48: error: 'm_hEvent' was not declared in this scope 188 | return xnOSCreateNamedEventEx(&m_hEvent, strName, bManualReset, bAllowOtherUsers); | ^~~~~~~~ ../Include/XnMacros.h:98:26: note: 'NULL' is defined in header ''; did you forget to '#include '? 98 | if (x == NULL) \ | ^~~~ ../Include/XnOS.h:121:34: note: in expansion of macro 'XN_VALIDATE_PTR' 121 | #define XN_VALIDATE_ALLOC_PTR(x) XN_VALIDATE_PTR(x, XN_STATUS_ALLOC_FAILED) | ^~~~~~~~~~~~~~~ ../Include/XnArray.h:124:25: note: in expansion of macro 'XN_VALIDATE_ALLOC_PTR' 124 | XN_VALIDATE_ALLOC_PTR(pNewData); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnArray.h:127:30: error: 'XnUInt32' was not declared in this scope 127 | for (XnUInt32 i = 0; i < m_nSize; i++) | ^~~~~~~~ ../Include/XnOSCpp.h:188:24: error: 'xnOSCreateNamedEventEx' was not declared in this scope 188 | return xnOSCreateNamedEventEx(&m_hEvent, strName, bManualReset, bAllowOtherUsers); | ^~~~~~~~~~~~~~~~~~~~~~ ../Include/XnArray.h:127:46: error: 'i' was not declared in this scope 127 | for (XnUInt32 i = 0; i < m_nSize; i++) | ^ ../Include/XnOSCpp.h: In member function 'XnStatus xnl::OSEvent::Open(const int*, int)': ../Include/XnOSCpp.h:193:46: error: 'm_hEvent' was not declared in this scope 193 | return xnOSOpenNamedEventEx(&m_hEvent, strName, bEnableOtherUsers); | ^~~~~~~~ ../Include/XnArray.h:127:50: error: 'm_nSize' was not declared in this scope 127 | for (XnUInt32 i = 0; i < m_nSize; i++) | ^~~~~~~ ../Include/XnArray.h: In member function 'XnStatus xnl::Array::SetSize(int)': ../Include/XnArray.h:161:17: error: 'm_nSize' was not declared in this scope; did you mean 'nSize'? 161 | m_nSize = nSize; | ^~~~~~~ | nSize ../Include/XnOSCpp.h:193:24: error: 'xnOSOpenNamedEventEx' was not declared in this scope 193 | return xnOSOpenNamedEventEx(&m_hEvent, strName, bEnableOtherUsers); | ^~~~~~~~~~~~~~~~~~~~ ../Include/XnArray.h: In member function 'XnStatus xnl::Array::SetSize(int, const T&)': ../Include/XnArray.h:172:17: error: 'm_nSize' was not declared in this scope; did you mean 'nSize'? 172 | m_nSize = nSize; | ^~~~~~~ | nSize ../Include/XnOSCpp.h: In member function 'XnStatus xnl::OSEvent::Close()': ../Include/XnOSCpp.h:198:25: error: 'm_hEvent' was not declared in this scope 198 | return (m_hEvent != NULL) ? xnOSCloseEvent(&m_hEvent) : XN_STATUS_OK; | ^~~~~~~~ ../Include/XnOSCpp.h:198:37: error: 'NULL' was not declared in this scope 198 | return (m_hEvent != NULL) ? xnOSCloseEvent(&m_hEvent) : XN_STATUS_OK; | ^~~~ ../Include/XnOSCpp.h:198:37: note: 'NULL' is defined in header ''; did you forget to '#include '? ../Include/XnArray.h: In member function 'XnStatus xnl::Array::SetMinSize(int)': ../Include/XnArray.h:181:29: error: 'm_nSize' was not declared in this scope; did you mean 'nSize'? 181 | if (nSize > m_nSize) | ^~~~~~~ | nSize ../Include/XnOSCpp.h:198:45: error: 'xnOSCloseEvent' was not declared in this scope 198 | return (m_hEvent != NULL) ? xnOSCloseEvent(&m_hEvent) : XN_STATUS_OK; | ^~~~~~~~~~~~~~ ../Include/XnArray.h: In member function 'XnStatus xnl::Array::SetMinSize(int, const T&)': ../Include/XnArray.h:195:29: error: 'm_nSize' was not declared in this scope; did you mean 'nSize'? 195 | if (nSize > m_nSize) | ^~~~~~~ | nSize ../Include/XnOSCpp.h: In member function 'XnStatus xnl::OSEvent::Set()': ../Include/XnOSCpp.h:203:37: error: 'm_hEvent' was not declared in this scope 203 | return xnOSSetEvent(m_hEvent); | ^~~~~~~~ ../Include/XnArray.h:199:30: error: 'XnUInt32' was not declared in this scope 199 | for (XnUInt32 i = m_nSize; i < nSize; i++) | ^~~~~~~~ ../Include/XnOSCpp.h:203:24: error: 'xnOSSetEvent' was not declared in this scope 203 | return xnOSSetEvent(m_hEvent); | ^~~~~~~~~~~~ ../Include/XnArray.h:199:52: error: 'i' was not declared in this scope 199 | for (XnUInt32 i = m_nSize; i < nSize; i++) | ^ ../Include/XnOSCpp.h: In member function 'XnStatus xnl::OSEvent::Reset()': ../Include/XnOSCpp.h:208:39: error: 'm_hEvent' was not declared in this scope 208 | return xnOSResetEvent(m_hEvent); | ^~~~~~~~ ../Include/XnArray.h: In member function 'XnStatus xnl::Array::AddLast(const T&)': ../Include/XnArray.h:239:28: error: 'm_nSize' was not declared in this scope 239 | return Set(m_nSize, val); | ^~~~~~~ ../Include/XnArray.h: In member function 'XnStatus xnl::Array::AddLast(const T*, int)': ../Include/XnMacros.h:98:26: error: 'NULL' was not declared in this scope 98 | if (x == NULL) \ | ^~~~ ../Include/XnOS.h:116:34: note: in expansion of macro 'XN_VALIDATE_PTR' 116 | #define XN_VALIDATE_INPUT_PTR(x) XN_VALIDATE_PTR(x, XN_STATUS_NULL_INPUT_PTR) | ^~~~~~~~~~~~~~~ ../Include/XnArray.h:245:17: note: in expansion of macro 'XN_VALIDATE_INPUT_PTR' 245 | XN_VALIDATE_INPUT_PTR(aValues); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnMacros.h:98:26: note: 'NULL' is defined in header ''; did you forget to '#include '? 98 | if (x == NULL) \ | ^~~~ ../Include/XnOS.h:116:34: note: in expansion of macro 'XN_VALIDATE_PTR' 116 | #define XN_VALIDATE_INPUT_PTR(x) XN_VALIDATE_PTR(x, XN_STATUS_NULL_INPUT_PTR) | ^~~~~~~~~~~~~~~ ../Include/XnArray.h:245:17: note: in expansion of macro 'XN_VALIDATE_INPUT_PTR' 245 | XN_VALIDATE_INPUT_PTR(aValues); | ^~~~~~~~~~~~~~~~~~~~~ ../Include/XnOSCpp.h:208:24: error: 'xnOSResetEvent' was not declared in this scope 208 | return xnOSResetEvent(m_hEvent); | ^~~~~~~~~~~~~~ ../Include/XnArray.h:246:17: error: 'XnUInt32' was not declared in this scope 246 | XnUInt32 nOffset = GetSize(); | ^~~~~~~~ ../Include/XnArray.h:247:47: error: there are no arguments to 'GetSize' that depend on a template parameter, so a declaration of 'GetSize' must be available [-fpermissive] 247 | XnStatus nRetVal = SetMinSize(GetSize() + nCount); | ^~~~~~~ ../Include/XnArray.h:249:31: error: expected ';' before 'i' 249 | for (XnUInt32 i = 0; i < nCount; ++i) | ^ ../Include/XnOSCpp.h: In member function 'XnStatus xnl::OSEvent::Wait(int)': ../Include/XnOSCpp.h:213:38: error: 'm_hEvent' was not declared in this scope 213 | return xnOSWaitEvent(m_hEvent, nMilliseconds); | ^~~~~~~~ ../Include/XnArray.h:249:38: error: 'i' was not declared in this scope 249 | for (XnUInt32 i = 0; i < nCount; ++i) | ^ ../Include/XnOSCpp.h:213:24: error: 'xnOSWaitEvent' was not declared in this scope 213 | return xnOSWaitEvent(m_hEvent, nMilliseconds); | ^~~~~~~~~~~~~ ../Include/XnErrorLogger.h: At global scope: ../Include/XnErrorLogger.h:39:27: error: 'XnChar' does not name a type; did you mean 'char'? 39 | void Append(const XnChar* cpFormat, ...); | ^~~~~~ | char ../Include/XnErrorLogger.h:41:28: error: 'XnChar' does not name a type; did you mean 'char'? 41 | void AppendV(const XnChar* cpFormat, va_list args); | ^~~~~~ | char ../Include/XnArray.h:251:33: error: 'nOffset' was not declared in this scope 251 | m_pData[nOffset + i] = aValues[i]; | ^~~~~~~ ../Include/XnErrorLogger.h:62:16: error: 'XN_THREAD_STATIC' does not name a type 62 | static XN_THREAD_STATIC char m_errorBuffer[ms_bufferSize]; | ^~~~~~~~~~~~~~~~ ../Include/XnErrorLogger.h:63:16: error: 'XN_THREAD_STATIC' does not name a type 63 | static XN_THREAD_STATIC int m_currentEnd; | ^~~~~~~~~~~~~~~~ ../Include/XnErrorLogger.h: In member function 'const char* xnl::ErrorLogger::GetExtendedError()': ../Include/XnErrorLogger.h:43:61: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_errorBuffer' 43 | const char* GetExtendedError() {return getBuffer()->m_errorBuffer;} | ^~~~~~~~~~~~~ XnErrorLogger.cpp: At global scope: XnErrorLogger.cpp:26:9: error: 'XN_THREAD_STATIC' does not name a type 26 | XN_THREAD_STATIC char ErrorLogger::m_errorBuffer[ms_bufferSize] = ""; | ^~~~~~~~~~~~~~~~ XnErrorLogger.cpp:27:9: error: 'XN_THREAD_STATIC' does not name a type 27 | XN_THREAD_STATIC int ErrorLogger::m_currentEnd = 0; | ^~~~~~~~~~~~~~~~ XnErrorLogger.cpp: In member function 'void xnl::ErrorLogger::Clear()': XnErrorLogger.cpp:39:26: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 39 | pBuffer->m_currentEnd = 0; | ^~~~~~~~~~~~ XnErrorLogger.cpp:40:26: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_errorBuffer' 40 | pBuffer->m_errorBuffer[0] = '\0'; | ^~~~~~~~~~~~~ XnErrorLogger.cpp: At global scope: XnErrorLogger.cpp:43:40: error: 'XnChar' does not name a type; did you mean 'char'? 43 | void ErrorLogger::Append(const XnChar* cpFormat, ...) | ^~~~~~ | char XnErrorLogger.cpp: In member function 'void xnl::ErrorLogger::Append(const int*, ...)': XnErrorLogger.cpp:47:30: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 47 | if (pBuffer->m_currentEnd > ms_bufferSize) | ^~~~~~~~~~~~ ../Include/XnArray.h: In member function 'void xnl::Array::Zero()': ../Include/XnArray.h:266:48: error: 'm_nAllocatedSize' was not declared in this scope 266 | memset(m_pData, 0, sizeof(T) * m_nAllocatedSize); | ^~~~~~~~~~~~~~~~ XnErrorLogger.cpp:50:26: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_errorBuffer' 50 | pBuffer->m_errorBuffer[pBuffer->m_currentEnd++] = '\t'; | ^~~~~~~~~~~~~ XnErrorLogger.cpp:50:49: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 50 | pBuffer->m_errorBuffer[pBuffer->m_currentEnd++] = '\t'; | ^~~~~~~~~~~~ XnErrorLogger.cpp:55:41: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_errorBuffer' 55 | xnOSStrFormatV(pBuffer->m_errorBuffer+pBuffer->m_currentEnd, ms_bufferSize-pBuffer->m_currentEnd, &charsWritten, cpFormat, args); | ^~~~~~~~~~~~~ XnErrorLogger.cpp:55:64: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 55 | xnOSStrFormatV(pBuffer->m_errorBuffer+pBuffer->m_currentEnd, ms_bufferSize-pBuffer->m_currentEnd, &charsWritten, cpFormat, args); | ^~~~~~~~~~~~ XnErrorLogger.cpp:55:101: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 55 | xnOSStrFormatV(pBuffer->m_errorBuffer+pBuffer->m_currentEnd, ms_bufferSize-pBuffer->m_currentEnd, &charsWritten, cpFormat, args); | ^~~~~~~~~~~~ ../Include/XnArray.h: In member function 'T& xnl::Array::operator[](int)': ../Include/XnArray.h:272:36: error: 'm_nSize' was not declared in this scope 272 | XN_ASSERT(nIndex < m_nSize); | ^~~~~~~ ../Include/XnArray.h:272:17: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 272 | XN_ASSERT(nIndex < m_nSize); | ^~~~~~~~~ XnErrorLogger.cpp:55:17: error: 'xnOSStrFormatV' was not declared in this scope 55 | xnOSStrFormatV(pBuffer->m_errorBuffer+pBuffer->m_currentEnd, ms_bufferSize-pBuffer->m_currentEnd, &charsWritten, cpFormat, args); | ^~~~~~~~~~~~~~ XnErrorLogger.cpp:58:26: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 58 | pBuffer->m_currentEnd += charsWritten; | ^~~~~~~~~~~~ XnErrorLogger.cpp:59:26: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_errorBuffer' 59 | pBuffer->m_errorBuffer[pBuffer->m_currentEnd++] = '\n'; | ^~~~~~~~~~~~~ XnErrorLogger.cpp:59:49: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 59 | pBuffer->m_errorBuffer[pBuffer->m_currentEnd++] = '\n'; | ^~~~~~~~~~~~ XnErrorLogger.cpp:60:26: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_errorBuffer' 60 | pBuffer->m_errorBuffer[pBuffer->m_currentEnd] = '\0'; | ^~~~~~~~~~~~~ XnErrorLogger.cpp:60:49: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 60 | pBuffer->m_errorBuffer[pBuffer->m_currentEnd] = '\0'; | ^~~~~~~~~~~~ XnErrorLogger.cpp: At global scope: XnErrorLogger.cpp:64:41: error: 'XnChar' does not name a type; did you mean 'char'? 64 | void ErrorLogger::AppendV(const XnChar* cpFormat, va_list args) | ^~~~~~ | char XnErrorLogger.cpp: In member function 'void xnl::ErrorLogger::AppendV(const int*, va_list)': XnErrorLogger.cpp:68:30: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 68 | if (pBuffer->m_currentEnd > ms_bufferSize) | ^~~~~~~~~~~~ XnErrorLogger.cpp:70:26: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_errorBuffer' 70 | pBuffer->m_errorBuffer[pBuffer->m_currentEnd++] = '\t'; | ^~~~~~~~~~~~~ XnErrorLogger.cpp:70:49: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 70 | pBuffer->m_errorBuffer[pBuffer->m_currentEnd++] = '\t'; | ^~~~~~~~~~~~ XnErrorLogger.cpp:73:41: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_errorBuffer' 73 | xnOSStrFormatV(pBuffer->m_errorBuffer+pBuffer->m_currentEnd, ms_bufferSize-pBuffer->m_currentEnd, &charsWritten, cpFormat, args); | ^~~~~~~~~~~~~ XnErrorLogger.cpp:73:64: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 73 | xnOSStrFormatV(pBuffer->m_errorBuffer+pBuffer->m_currentEnd, ms_bufferSize-pBuffer->m_currentEnd, &charsWritten, cpFormat, args); | ^~~~~~~~~~~~ XnErrorLogger.cpp:73:101: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 73 | xnOSStrFormatV(pBuffer->m_errorBuffer+pBuffer->m_currentEnd, ms_bufferSize-pBuffer->m_currentEnd, &charsWritten, cpFormat, args); | ^~~~~~~~~~~~ ../Include/XnArray.h: In member function 'const T& xnl::Array::operator[](int) const': ../Include/XnArray.h:279:36: error: 'm_nSize' was not declared in this scope 279 | XN_ASSERT(nIndex < m_nSize); | ^~~~~~~ ../Include/XnArray.h:279:17: error: there are no arguments to 'XN_ASSERT' that depend on a template parameter, so a declaration of 'XN_ASSERT' must be available [-fpermissive] 279 | XN_ASSERT(nIndex < m_nSize); | ^~~~~~~~~ XnErrorLogger.cpp:73:17: error: 'xnOSStrFormatV' was not declared in this scope 73 | xnOSStrFormatV(pBuffer->m_errorBuffer+pBuffer->m_currentEnd, ms_bufferSize-pBuffer->m_currentEnd, &charsWritten, cpFormat, args); | ^~~~~~~~~~~~~~ XnErrorLogger.cpp:75:26: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 75 | pBuffer->m_currentEnd += charsWritten; | ^~~~~~~~~~~~ XnErrorLogger.cpp:76:26: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_errorBuffer' 76 | pBuffer->m_errorBuffer[pBuffer->m_currentEnd++] = '\n'; | ^~~~~~~~~~~~~ XnErrorLogger.cpp:76:49: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 76 | pBuffer->m_errorBuffer[pBuffer->m_currentEnd++] = '\n'; | ^~~~~~~~~~~~ XnErrorLogger.cpp:77:26: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_errorBuffer' 77 | pBuffer->m_errorBuffer[pBuffer->m_currentEnd] = '\0'; | ^~~~~~~~~~~~~ XnErrorLogger.cpp:77:49: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 77 | pBuffer->m_errorBuffer[pBuffer->m_currentEnd] = '\0'; | ^~~~~~~~~~~~ XnErrorLogger.cpp: In constructor 'xnl::ErrorLogger::ErrorLogger()': XnErrorLogger.cpp:85:37: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_errorBuffer' 85 | xnOSMemSet(pBuffer->m_errorBuffer, 0, ms_bufferSize); | ^~~~~~~~~~~~~ ../Include/XnArray.h: In member function 'T* xnl::Array::end()': ../Include/XnArray.h:298:34: error: 'm_nSize' was not declared in this scope 298 | return m_pData + m_nSize; | ^~~~~~~ XnErrorLogger.cpp:85:17: error: 'xnOSMemSet' was not declared in this scope 85 | xnOSMemSet(pBuffer->m_errorBuffer, 0, ms_bufferSize); | ^~~~~~~~~~ XnErrorLogger.cpp:86:26: error: 'xnl::ErrorLogger::SingleBuffer' {aka 'class xnl::ErrorLogger'} has no member named 'm_currentEnd' 86 | pBuffer->m_currentEnd = 0; | ^~~~~~~~~~~~ ../Include/XnArray.h: In member function 'const T* xnl::Array::end() const': ../Include/XnArray.h:304:34: error: 'm_nSize' was not declared in this scope 304 | return m_pData + m_nSize; | ^~~~~~~ make[1]: *** [../../BuildSystem/CommonCppMakefile:130: ../Bin/Intermediate/Arm64-Release/libXnLib.a/XnErrorLogger.o] Error 1 ../Include/XnArray.h: In member function 'void xnl::Array::Init(int)': ../Include/XnArray.h:311:17: error: 'm_nAllocatedSize' was not declared in this scope 311 | m_nAllocatedSize = nBaseSize; | ^~~~~~~~~~~~~~~~ ../Include/XnArray.h:312:17: error: 'm_nSize' was not declared in this scope 312 | m_nSize = 0; | ^~~~~~~ In file included from XnDump.cpp:31: XnDumpFileWriter.h: At global scope: XnDumpFileWriter.h:35:55: error: 'XnChar' does not name a type; did you mean 'char'? 35 | virtual XnDumpWriterFileHandle OpenFile(const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName); | ^~~~~~ | char XnDumpFileWriter.h:35:76: error: 'XnBool' has not been declared 35 | virtual XnDumpWriterFileHandle OpenFile(const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName); | ^~~~~~ XnDumpFileWriter.h:35:103: error: 'XnChar' does not name a type; did you mean 'char'? 35 | virtual XnDumpWriterFileHandle OpenFile(const XnChar* strDumpName, XnBool bSessionDump, const XnChar* strFileName); | ^~~~~~ | char XnDumpFileWriter.h:36:79: error: 'XnUInt32' has not been declared 36 | virtual void Write(XnDumpWriterFileHandle hFile, const void* pBuffer, XnUInt32 nBufferSize); | ^~~~~~~~ XnDump.cpp:42:24: error: 'XnBool' was not declared in this scope; did you mean 'bool'? 42 | typedef XnStringsHashT XnDumpsHash; | ^~~~~~ | bool XnDump.cpp:42:30: error: template argument 1 is invalid 42 | typedef XnStringsHashT XnDumpsHash; | ^ XnDump.cpp:55:31: error: 'XnBool' has not been declared 55 | void SetStateGlobally(XnBool bState) | ^~~~~~ XnDump.cpp:68:9: error: 'XnBool' does not name a type; did you mean 'bool'? 68 | XnBool bDefaultState; | ^~~~~~ | bool XnDump.cpp: In static member function 'static DumpData& DumpData::GetInstance()': XnDump.cpp:51:47: error: 'XN_NEW' was not declared in this scope 51 | static DumpData* pSingleton = XN_NEW(DumpData); | ^~~~~~ XnDump.cpp: In member function 'void DumpData::SetStateGlobally(int)': XnDump.cpp:58:23: error: 'class DumpData' has no member named 'bDefaultState' 58 | this->bDefaultState = bState; | ^~~~~~~~~~~~~ XnDump.cpp:60:44: error: qualified-id in declaration before 'it' 60 | for (XnDumpsHash::Iterator it = this->dumpsState.Begin(); it != this->dumpsState.End(); ++it) | ^~ XnDump.cpp:60:44: error: expected ';' before 'it' XnDump.cpp:60:44: error: 'it' was not declared in this scope; did you mean 'int'? 60 | for (XnDumpsHash::Iterator it = this->dumpsState.Begin(); it != this->dumpsState.End(); ++it) | ^~ | int XnDump.cpp:60:66: error: request for member 'Begin' in '((DumpData*)this)->DumpData::dumpsState', which is of non-class type 'XnDumpsHash' {aka 'int'} 60 | for (XnDumpsHash::Iterator it = this->dumpsState.Begin(); it != this->dumpsState.End(); ++it) | ^~~~~ XnDump.cpp:60:98: error: request for member 'End' in '((DumpData*)this)->DumpData::dumpsState', which is of non-class type 'XnDumpsHash' {aka 'int'} 60 | for (XnDumpsHash::Iterator it = this->dumpsState.Begin(); it != this->dumpsState.End(); ++it) | ^~~ XnDump.cpp:60:103: error: expected ')' before ';' token 60 | for (XnDumpsHash::Iterator it = this->dumpsState.Begin(); it != this->dumpsState.End(); ++it) | ^ XnDump.cpp:60:21: note: to match this '(' 60 | for (XnDumpsHash::Iterator it = this->dumpsState.Begin(); it != this->dumpsState.End(); ++it) | ^ XnDump.cpp:60:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 60 | for (XnDumpsHash::Iterator it = this->dumpsState.Begin(); it != this->dumpsState.End(); ++it) | ^~~ XnDump.cpp:60:105: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 60 | for (XnDumpsHash::Iterator it = this->dumpsState.Begin(); it != this->dumpsState.End(); ++it) | ^~ XnDump.cpp:60:107: error: 'it' was not declared in this scope; did you mean 'int'? 60 | for (XnDumpsHash::Iterator it = this->dumpsState.Begin(); it != this->dumpsState.End(); ++it) | ^~ | int XnDump.cpp: In constructor 'DumpData::DumpData()': XnDump.cpp:71:22: error: class 'DumpData' does not have any field named 'bDefaultState' 71 | DumpData() : bDefaultState(FALSE) {} | ^~~~~~~~~~~~~ XnDump.cpp: At global scope: XnDump.cpp:94:44: error: 'XnChar' does not name a type; did you mean 'char'? 94 | XN_C_API XnStatus xnDumpSetMaskState(const XnChar* csMask, XnBool bEnabled) | ^~~~~~ | char XnDump.cpp:94:60: error: 'XnBool' has not been declared 94 | XN_C_API XnStatus xnDumpSetMaskState(const XnChar* csMask, XnBool bEnabled) | ^~~~~~ XnDump.cpp: In function 'XnStatus xnDumpSetMaskState(const int*, int)': XnDump.cpp:100:13: error: 'strcmp' was not declared in this scope 100 | if (strcmp(csMask, XN_LOG_MASK_ALL) == 0) | ^~~~~~ XnDump.cpp:32:1: note: 'strcmp' is defined in header ''; did you forget to '#include '? 31 | #include "XnDumpFileWriter.h" +++ |+#include 32 | XnDump.cpp:106:47: error: request for member 'Set' in 'dumpData.DumpData::dumpsState', which is of non-class type 'XnDumpsHash' {aka 'int'} 106 | nRetVal = dumpData.dumpsState.Set(csMask, bEnabled); | ^~~ XnDump.cpp: At global scope: XnDump.cpp:113:10: error: 'XnBool' does not name a type; did you mean 'bool'? 113 | XN_C_API XnBool XN_C_DECL xnLogIsDumpMaskEnabled(const XnChar* strDumpMask) | ^~~~~~ | bool XnDump.cpp:122:29: error: expected initializer before 'xnDumpRegisterWriter' 122 | XN_C_API XnStatus XN_C_DECL xnDumpRegisterWriter(XnDumpWriter* pWriter) | ^~~~~~~~~~~~~~~~~~~~ XnDump.cpp:127:25: error: expected initializer before 'xnDumpUnregisterWriter' 127 | XN_C_API void XN_C_DECL xnDumpUnregisterWriter(XnDumpWriter* pWriter) | ^~~~~~~~~~~~~~~~~~~~~~ XnDump.cpp:132:29: error: expected initializer before 'xnDumpSetFilesOutput' 132 | XN_C_API XnStatus XN_C_DECL xnDumpSetFilesOutput(XnBool bOn) | ^~~~~~~~~~~~~~~~~~~~ XnDump.cpp:146:38: error: 'XnChar' does not name a type; did you mean 'char'? 146 | XnDumpFile* xnDumpFileOpenImpl(const XnChar* strDumpName, XnBool bForce, XnBool bSessionDump, const XnChar* strNameFormat, va_list args) | ^~~~~~ | char XnDump.cpp:146:59: error: 'XnBool' has not been declared 146 | XnDumpFile* xnDumpFileOpenImpl(const XnChar* strDumpName, XnBool bForce, XnBool bSessionDump, const XnChar* strNameFormat, va_list args) | ^~~~~~ XnDump.cpp:146:74: error: 'XnBool' has not been declared 146 | XnDumpFile* xnDumpFileOpenImpl(const XnChar* strDumpName, XnBool bForce, XnBool bSessionDump, const XnChar* strNameFormat, va_list args) | ^~~~~~ XnDump.cpp:146:101: error: 'XnChar' does not name a type; did you mean 'char'? 146 | XnDumpFile* xnDumpFileOpenImpl(const XnChar* strDumpName, XnBool bForce, XnBool bSessionDump, const XnChar* strNameFormat, va_list args) | ^~~~~~ | char XnDump.cpp: In function 'XnDumpFile* xnDumpFileOpenImpl(const int*, int, int, const int*, va_list)': XnDump.cpp:155:24: error: 'NULL' was not declared in this scope 155 | return NULL; | ^~~~ XnDump.cpp:32:1: note: 'NULL' is defined in header ''; did you forget to '#include '? 31 | #include "XnDumpFileWriter.h" +++ |+#include 32 | XnDump.cpp:160:22: error: 'xnLogIsDumpMaskEnabled' was not declared in this scope 160 | if (!xnLogIsDumpMaskEnabled(strDumpName)) | ^~~~~~~~~~~~~~~~~~~~~~ XnDump.cpp:162:32: error: 'NULL' was not declared in this scope 162 | return NULL; | ^~~~ XnDump.cpp:162:32: note: 'NULL' is defined in header ''; did you forget to '#include '? XnDump.cpp:167:9: error: 'XnChar' was not declared in this scope; did you mean 'char'? 167 | XnChar strFileName[XN_FILE_MAX_PATH]; | ^~~~~~ | char XnDump.cpp:168:9: error: 'XnUInt32' was not declared in this scope 168 | XnUInt32 nChars; | ^~~~~~~~ XnDump.cpp:169:34: error: 'strFileName' was not declared in this scope 169 | nRetVal = xnOSStrFormatV(strFileName, XN_FILE_MAX_PATH, &nChars, strNameFormat, args); | ^~~~~~~~~~~ XnDump.cpp:169:47: error: 'XN_FILE_MAX_PATH' was not declared in this scope 169 | nRetVal = xnOSStrFormatV(strFileName, XN_FILE_MAX_PATH, &nChars, strNameFormat, args); | ^~~~~~~~~~~~~~~~ XnDump.cpp:169:66: error: 'nChars' was not declared in this scope; did you mean 'char'? 169 | nRetVal = xnOSStrFormatV(strFileName, XN_FILE_MAX_PATH, &nChars, strNameFormat, args); | ^~~~~~ | char XnDump.cpp:169:19: error: 'xnOSStrFormatV' was not declared in this scope 169 | nRetVal = xnOSStrFormatV(strFileName, XN_FILE_MAX_PATH, &nChars, strNameFormat, args); | ^~~~~~~~~~~~~~ XnDump.cpp:172:17: error: 'XN_ASSERT' was not declared in this scope 172 | XN_ASSERT(FALSE); | ^~~~~~~~~ XnDump.cpp:173:24: error: 'NULL' was not declared in this scope 173 | return NULL; | ^~~~ XnDump.cpp:173:24: note: 'NULL' is defined in header ''; did you forget to '#include '? XnDump.cpp:177:29: error: 'XN_NEW' was not declared in this scope 177 | XnDumpFile* pFile = XN_NEW(XnDumpFile); | ^~~~~~ XnDump.cpp:184:56: error: 'XnDumpWriter' {aka 'struct XnDumpWriter'} has no member named 'OpenFile' 184 | writerFile.hFile = writerFile.pWriter->OpenFile(writerFile.pWriter->pCookie, strDumpName, bSessionDump, strFileName); | ^~~~~~~~ XnDump.cpp:185:57: error: 'NULL' was not declared in this scope 185 | XN_ASSERT(writerFile.hFile.pInternal != NULL); | ^~~~ XnDump.cpp:185:57: note: 'NULL' is defined in header ''; did you forget to '#include '? XnDump.cpp:185:17: error: 'XN_ASSERT' was not declared in this scope 185 | XN_ASSERT(writerFile.hFile.pInternal != NULL); | ^~~~~~~~~ XnDump.cpp:194:35: error: 'class xnl::Array' has no member named 'IsEmpty' 194 | if (pFile->m_writersFiles.IsEmpty()) | ^~~~~~~ XnDump.cpp:198:24: error: 'NULL' was not declared in this scope 198 | return NULL; | ^~~~ XnDump.cpp:198:24: note: 'NULL' is defined in header ''; did you forget to '#include '? XnDump.cpp: At global scope: XnDump.cpp:205:32: error: expected initializer before 'xnDumpFileOpen' 205 | XN_C_API XnDumpFile* XN_C_DECL xnDumpFileOpen(const XnChar* strDumpName, const XnChar* strNameFormat, ...) | ^~~~~~~~~~~~~~ XnDump.cpp:221:32: error: expected initializer before 'xnDumpFileOpenEx' 221 | XN_C_API XnDumpFile* XN_C_DECL xnDumpFileOpenEx(const XnChar* strDumpName, XnBool bForce, XnBool bSessionDump, const XnChar* strNameFormat, ...) | ^~~~~~~~~~~~~~~~ XnDump.cpp:237:25: error: expected initializer before '_xnDumpFileWriteBuffer' 237 | XN_C_API void XN_C_DECL _xnDumpFileWriteBuffer(XnDumpFile* pFile, const void* pBuffer, XnUInt32 nBufferSize) | ^~~~~~~~~~~~~~~~~~~~~~ XnDump.cpp:254:25: error: expected initializer before '_xnDumpFileWriteString' 254 | XN_C_API void XN_C_DECL _xnDumpFileWriteString(XnDumpFile* pFile, const XnChar* strFormat, ...) | ^~~~~~~~~~~~~~~~~~~~~~ XnDump.cpp:276:25: error: expected initializer before '_xnDumpFileClose' 276 | XN_C_API void XN_C_DECL _xnDumpFileClose(XnDumpFile* pFile) | ^~~~~~~~~~~~~~~~ XnDump.cpp:300:44: error: 'XnChar' does not name a type; did you mean 'char'? 300 | XnStatus xnDumpCreate(XnDump* pDump, const XnChar* csHeader, const XnChar* csFileNameFormat, va_list args) | ^~~~~~ | char XnDump.cpp:300:68: error: 'XnChar' does not name a type; did you mean 'char'? 300 | XnStatus xnDumpCreate(XnDump* pDump, const XnChar* csHeader, const XnChar* csFileNameFormat, va_list args) | ^~~~~~ | char XnDump.cpp: In function 'XnStatus xnDumpCreate(XnDump*, const int*, const int*, va_list)': XnDump.cpp:304:9: error: 'XnChar' was not declared in this scope; did you mean 'char'? 304 | XnChar strFileName[XN_FILE_MAX_PATH]; | ^~~~~~ | char XnDump.cpp:305:9: error: 'XnUInt32' was not declared in this scope 305 | XnUInt32 nChars; | ^~~~~~~~ XnDump.cpp:306:34: error: 'strFileName' was not declared in this scope 306 | nRetVal = xnOSStrFormatV(strFileName, XN_FILE_MAX_PATH, &nChars, csFileNameFormat, args); | ^~~~~~~~~~~ XnDump.cpp:306:47: error: 'XN_FILE_MAX_PATH' was not declared in this scope 306 | nRetVal = xnOSStrFormatV(strFileName, XN_FILE_MAX_PATH, &nChars, csFileNameFormat, args); | ^~~~~~~~~~~~~~~~ XnDump.cpp:306:66: error: 'nChars' was not declared in this scope; did you mean 'char'? 306 | nRetVal = xnOSStrFormatV(strFileName, XN_FILE_MAX_PATH, &nChars, csFileNameFormat, args); | ^~~~~~ | char XnDump.cpp:306:19: error: 'xnOSStrFormatV' was not declared in this scope 306 | nRetVal = xnOSStrFormatV(strFileName, XN_FILE_MAX_PATH, &nChars, csFileNameFormat, args); | ^~~~~~~~~~~~~~ XnDump.cpp:309:15: error: expected ';' before 'strFullPath' 309 | XnChar strFullPath[XN_FILE_MAX_PATH]; | ^~~~~~~~~~~~ | ; XnDump.cpp:310:57: error: 'strFullPath' was not declared in this scope 310 | nRetVal = xnLogCreateNewFile(strFileName, TRUE, strFullPath, XN_FILE_MAX_PATH, &pDump->hFile); | ^~~~~~~~~~~ XnDump.cpp:310:96: error: 'XnDump' {aka 'struct XnDump'} has no member named 'hFile' 310 | nRetVal = xnLogCreateNewFile(strFileName, TRUE, strFullPath, XN_FILE_MAX_PATH, &pDump->hFile); | ^~~~~ XnDump.cpp:310:19: error: 'xnLogCreateNewFile' was not declared in this scope 310 | nRetVal = xnLogCreateNewFile(strFileName, TRUE, strFullPath, XN_FILE_MAX_PATH, &pDump->hFile); | ^~~~~~~~~~~~~~~~~~ XnDump.cpp:314:17: error: 'xnLogWarning' was not declared in this scope 314 | xnLogWarning(XN_MASK_LOG, "Couldn't create dump file %s! Dump will not be written", strFileName); | ^~~~~~~~~~~~ XnDump.cpp:315:24: error: 'XnDump' {aka 'struct XnDump'} has no member named 'hFile' 315 | pDump->hFile = XN_INVALID_FILE_HANDLE; | ^~~~~ XnDump.cpp:315:32: error: 'XN_INVALID_FILE_HANDLE' was not declared in this scope 315 | pDump->hFile = XN_INVALID_FILE_HANDLE; | ^~~~~~~~~~~~~~~~~~~~~~ XnDump.cpp:319:25: error: 'NULL' was not declared in this scope 319 | if (csHeader != NULL) | ^~~~ XnDump.cpp:319:25: note: 'NULL' is defined in header ''; did you forget to '#include '? XnDump.cpp:321:38: error: 'XnDump' {aka 'struct XnDump'} has no member named 'hFile' 321 | xnOSWriteFile(pDump->hFile, csHeader, (XnUInt32)strlen(csHeader)); | ^~~~~ XnDump.cpp:321:65: error: expected ')' before 'strlen' 321 | xnOSWriteFile(pDump->hFile, csHeader, (XnUInt32)strlen(csHeader)); | ~ ^~~~~~ | ) XnDump.cpp:321:17: error: 'xnOSWriteFile' was not declared in this scope; did you mean 'XnDumpWriterFile'? 321 | xnOSWriteFile(pDump->hFile, csHeader, (XnUInt32)strlen(csHeader)); | ^~~~~~~~~~~~~ | XnDumpWriterFile XnDump.cpp: At global scope: XnDump.cpp:327:47: error: 'XnChar' does not name a type; did you mean 'char'? 327 | XN_C_API void xnDumpInit(XnDump* pDump, const XnChar* csDumpMask, const XnChar* csHeader, const XnChar* csFileNameFormat, ...) | ^~~~~~ | char XnDump.cpp:327:73: error: 'XnChar' does not name a type; did you mean 'char'? 327 | XN_C_API void xnDumpInit(XnDump* pDump, const XnChar* csDumpMask, const XnChar* csHeader, const XnChar* csFileNameFormat, ...) | ^~~~~~ | char XnDump.cpp:327:97: error: 'XnChar' does not name a type; did you mean 'char'? 327 | XN_C_API void xnDumpInit(XnDump* pDump, const XnChar* csDumpMask, const XnChar* csHeader, const XnChar* csFileNameFormat, ...) | ^~~~~~ | char XnDump.cpp: In function 'void xnDumpInit(XnDump*, const int*, const int*, const int*, ...)': XnDump.cpp:329:20: error: 'XnDump' {aka 'struct XnDump'} has no member named 'hFile' 329 | if (pDump->hFile == XN_INVALID_FILE_HANDLE && xnLogIsDumpMaskEnabled(csDumpMask)) | ^~~~~ XnDump.cpp:329:29: error: 'XN_INVALID_FILE_HANDLE' was not declared in this scope 329 | if (pDump->hFile == XN_INVALID_FILE_HANDLE && xnLogIsDumpMaskEnabled(csDumpMask)) | ^~~~~~~~~~~~~~~~~~~~~~ XnDump.cpp:329:55: error: 'xnLogIsDumpMaskEnabled' was not declared in this scope 329 | if (pDump->hFile == XN_INVALID_FILE_HANDLE && xnLogIsDumpMaskEnabled(csDumpMask)) | ^~~~~~~~~~~~~~~~~~~~~~ XnDump.cpp: At global scope: XnDump.cpp:338:52: error: 'XnChar' does not name a type; did you mean 'char'? 338 | XN_C_API void xnDumpForceInit(XnDump* pDump, const XnChar* csHeader, const XnChar* csFileNameFormat, ...) | ^~~~~~ | char XnDump.cpp:338:76: error: 'XnChar' does not name a type; did you mean 'char'? 338 | XN_C_API void xnDumpForceInit(XnDump* pDump, const XnChar* csHeader, const XnChar* csFileNameFormat, ...) | ^~~~~~ | char XnDump.cpp: In function 'void xnDumpForceInit(XnDump*, const int*, const int*, ...)': XnDump.cpp:340:20: error: 'XnDump' {aka 'struct XnDump'} has no member named 'hFile' 340 | if (pDump->hFile == XN_INVALID_FILE_HANDLE) | ^~~~~ XnDump.cpp:340:29: error: 'XN_INVALID_FILE_HANDLE' was not declared in this scope 340 | if (pDump->hFile == XN_INVALID_FILE_HANDLE) | ^~~~~~~~~~~~~~~~~~~~~~ XnDump.cpp: In function 'void xnDumpClose(XnDump*)': XnDump.cpp:351:20: error: 'XnDump' {aka 'struct XnDump'} has no member named 'hFile' 351 | if (pDump->hFile != XN_INVALID_FILE_HANDLE) | ^~~~~ XnDump.cpp:351:29: error: 'XN_INVALID_FILE_HANDLE' was not declared in this scope 351 | if (pDump->hFile != XN_INVALID_FILE_HANDLE) | ^~~~~~~~~~~~~~~~~~~~~~ XnDump.cpp:353:39: error: 'XnDump' {aka 'struct XnDump'} has no member named 'hFile' 353 | xnOSCloseFile(&pDump->hFile); | ^~~~~ XnDump.cpp:353:17: error: 'xnOSCloseFile' was not declared in this scope 353 | xnOSCloseFile(&pDump->hFile); | ^~~~~~~~~~~~~ XnDump.cpp: At global scope: XnDump.cpp:358:71: error: 'XnUInt32' has not been declared 358 | XN_C_API void xnDumpWriteBufferImpl(XnDump dump, const void* pBuffer, XnUInt32 nBufferSize) | ^~~~~~~~ XnDump.cpp: In function 'void xnDumpWriteBufferImpl(XnDump, const void*, int)': XnDump.cpp:360:18: error: 'XnDump' {aka 'struct XnDump'} has no member named 'hFile' 360 | if (dump.hFile != XN_INVALID_FILE_HANDLE) | ^~~~~ XnDump.cpp:360:27: error: 'XN_INVALID_FILE_HANDLE' was not declared in this scope 360 | if (dump.hFile != XN_INVALID_FILE_HANDLE) | ^~~~~~~~~~~~~~~~~~~~~~ XnDump.cpp:362:36: error: 'XnDump' {aka 'struct XnDump'} has no member named 'hFile' 362 | xnOSWriteFile(dump.hFile, pBuffer, nBufferSize); | ^~~~~ XnDump.cpp:362:17: error: 'xnOSWriteFile' was not declared in this scope; did you mean 'XnDumpWriterFile'? 362 | xnOSWriteFile(dump.hFile, pBuffer, nBufferSize); | ^~~~~~~~~~~~~ | XnDumpWriterFile XnDump.cpp: At global scope: XnDump.cpp:366:56: error: 'XnChar' does not name a type; did you mean 'char'? 366 | XN_C_API void xnDumpWriteStringImpl(XnDump dump, const XnChar* csFormat, ...) | ^~~~~~ | char XnDump.cpp: In function 'void xnDumpWriteStringImpl(XnDump, const int*, ...)': XnDump.cpp:368:18: error: 'XnDump' {aka 'struct XnDump'} has no member named 'hFile' 368 | if (dump.hFile != XN_INVALID_FILE_HANDLE) | ^~~~~ XnDump.cpp:368:27: error: 'XN_INVALID_FILE_HANDLE' was not declared in this scope 368 | if (dump.hFile != XN_INVALID_FILE_HANDLE) | ^~~~~~~~~~~~~~~~~~~~~~ XnDump.cpp:370:23: error: 'XnUInt32' does not name a type 370 | const XnUInt32 nStringLength = 1024; | ^~~~~~~~ XnDump.cpp:371:17: error: 'XnChar' was not declared in this scope; did you mean 'char'? 371 | XnChar csString[1024]; | ^~~~~~ | char XnDump.cpp:377:17: error: 'XnUInt32' was not declared in this scope 377 | XnUInt32 nChars; | ^~~~~~~~ XnDump.cpp:378:32: error: 'csString' was not declared in this scope 378 | xnOSStrFormatV(csString, nStringLength, &nChars, csFormat, args); | ^~~~~~~~ XnDump.cpp:378:42: error: 'nStringLength' was not declared in this scope 378 | xnOSStrFormatV(csString, nStringLength, &nChars, csFormat, args); | ^~~~~~~~~~~~~ XnDump.cpp:378:58: error: 'nChars' was not declared in this scope; did you mean 'char'? 378 | xnOSStrFormatV(csString, nStringLength, &nChars, csFormat, args); | ^~~~~~ | char XnDump.cpp:378:17: error: 'xnOSStrFormatV' was not declared in this scope 378 | xnOSStrFormatV(csString, nStringLength, &nChars, csFormat, args); | ^~~~~~~~~~~~~~ XnDump.cpp:381:36: error: 'XnDump' {aka 'struct XnDump'} has no member named 'hFile' 381 | xnOSWriteFile(dump.hFile, csString, nChars); | ^~~~~ XnDump.cpp:381:17: error: 'xnOSWriteFile' was not declared in this scope; did you mean 'XnDumpWriterFile'? 381 | xnOSWriteFile(dump.hFile, csString, nChars); | ^~~~~~~~~~~~~ | XnDumpWriterFile XnDump.cpp: In function 'void xnDumpFlush(XnDump)': XnDump.cpp:389:18: error: 'XnDump' {aka 'struct XnDump'} has no member named 'hFile' 389 | if (dump.hFile != XN_INVALID_FILE_HANDLE) | ^~~~~ XnDump.cpp:389:27: error: 'XN_INVALID_FILE_HANDLE' was not declared in this scope 389 | if (dump.hFile != XN_INVALID_FILE_HANDLE) | ^~~~~~~~~~~~~~~~~~~~~~ XnDump.cpp:391:36: error: 'XnDump' {aka 'struct XnDump'} has no member named 'hFile' 391 | xnOSFlushFile(dump.hFile); | ^~~~~ XnDump.cpp:391:17: error: 'xnOSFlushFile' was not declared in this scope 391 | xnOSFlushFile(dump.hFile); | ^~~~~~~~~~~~~ make[1]: *** [../../BuildSystem/CommonCppMakefile:130: ../Bin/Intermediate/Arm64-Release/libXnLib.a/XnDump.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libopenni2-dev-2.2.0/ThirdParty/PSCommon/XnLib/Source' make: *** [Makefile:122: ThirdParty/PSCommon/XnLib/Source] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.2BspSQ (%build) Bad exit status from /var/tmp/rpm-tmp.2BspSQ (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/libopenni2-dev.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/libopenni2-dev.spec