Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openni-primesense.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1663842402.831253/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ld48ku8o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ld48ku8o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0cb87febc9054812bee958899a1316f9', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1663842402.831253/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ld48ku8o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openni-primesense.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1626912000 Wrote: /builddir/build/SRPMS/openni-primesense-5.1.6.6-20.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/openni-primesense.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1663842402.831253/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ld48ku8o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ld48ku8o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'daba46dc005f4becb3c303c122c489e1', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1663842402.831253/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ld48ku8o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/openni-primesense.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1626912000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CLgR5t + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c + /usr/bin/gzip -dc /builddir/build/SOURCES/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (openni-primesense-5.1.6.6-fedora.patch):' Patch #0 (openni-primesense-5.1.6.6-fedora.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .fedora --fuzz=0 patching file ./Platform/Linux/Build/Common/CommonCppMakefile patching file ./Platform/Linux/Build/XnFormats/Makefile patching file ./Platform/Linux/CreateRedist/install.sh patching file ./Source/XnFormats/XnStreamCompression.h + echo 'Patch #1 (openni-primesense-5.1.6.6-willowgarage.patch):' Patch #1 (openni-primesense-5.1.6.6-willowgarage.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .willow --fuzz=0 patching file ./Data/GlobalDefaults.ini patching file ./Source/XnDeviceSensorV2/Registration.cpp patching file ./Source/XnDeviceSensorV2/XnDataProcessor.h patching file ./Source/XnDeviceSensorV2/XnDeviceSensorProtocol.h patching file ./Source/XnDeviceSensorV2/XnFirmwareStreams.cpp patching file ./Source/XnDeviceSensorV2/XnHostProtocol.h patching file ./Source/XnDeviceSensorV2/XnSensorDepthStream.cpp patching file ./Source/XnDeviceSensorV2/XnSensorDepthStream.h patching file ./Source/XnDeviceSensorV2/XnSensorImageStream.h + echo 'Patch #2 (openni-primesense-5.1.6.6-sse.patch):' Patch #2 (openni-primesense-5.1.6.6-sse.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .sse --fuzz=0 patching file ./Platform/Linux/Build/Common/Platform.x64 patching file ./Platform/Linux/Build/Common/Platform.x86 + echo 'Patch #3 (openni-primesense-5.1.6.6-softfloat.patch):' Patch #3 (openni-primesense-5.1.6.6-softfloat.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .softfloat --fuzz=0 patching file ./Platform/Linux/Build/Common/Platform.Arm + rm -rf Source/External/LibJPEG + rm -rf Platform/Android Platform/Win32 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.S837Ug + umask 022 + cd /builddir/build/BUILD + cd Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c + cd Platform/Linux/CreateRedist + sed -i 's|make -j$(calc_jobs_number) -C ../Build|make -j$(calc_jobs_number) -C ../Build CFLAGS_EXT="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas" LDFLAGS_EXT="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection" DEBUG=1|' RedistMaker + ./RedistMaker Creating redist for Sensor v5.1.6.6 Cleaning previous outputs... Building... make: Entering directory '/builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Build' make -C XnCore CFG=Release make -C XnDeviceSensorV2 CFG=Release make[1]: Entering directory '/builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Build' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Build' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. mkdir -p x64-Release g++ -MD -MP -MT "./x64-Release/XnBuffer.d x64-Release/XnBuffer.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_CORE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnBuffer.o ../../../../Source/XnCore/XnBuffer.cpp mkdir -p x64-Release g++ -MD -MP -MT "./x64-Release/Bayer.d x64-Release/Bayer.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/Bayer.o ../../../../Source/XnDeviceSensorV2/Bayer.cpp In file included from ../../../../Source/XnCore/XnBuffer.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnCore.d x64-Release/XnCore.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_CORE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnCore.o ../../../../Source/XnCore/XnCore.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/Bayer.h:27, from ../../../../Source/XnDeviceSensorV2/Bayer.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnCoreStatus.d x64-Release/XnCoreStatus.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_CORE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnCoreStatus.o ../../../../Source/XnCore/XnCoreStatus.cpp g++ -MD -MP -MT "./x64-Release/XnIOFileStream.d x64-Release/XnIOFileStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_CORE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnIOFileStream.o ../../../../Source/XnCore/XnIOFileStream.cpp g++ -MD -MP -MT "./x64-Release/Registration.d x64-Release/Registration.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/Registration.o ../../../../Source/XnDeviceSensorV2/Registration.cpp g++ -MD -MP -MT "./x64-Release/XnIONetworkStream.d x64-Release/XnIONetworkStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_CORE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnIONetworkStream.o ../../../../Source/XnCore/XnIONetworkStream.cpp In file included from ../../../../Source/XnCore/XnIONetworkStream.cpp:24: ../../../../Include/XnIONetworkStream.h: In constructor 'XnIONetworkStream::XnIONetworkStream(XN_SOCKET_HANDLE)': ../../../../Include/XnIONetworkStream.h:49:16: warning: 'XnIONetworkStream::m_bIsConnected' will be initialized after [-Wreorder] 49 | XnBool m_bIsConnected; | ^~~~~~~~~~~~~~ ../../../../Include/XnIONetworkStream.h:47:18: warning: 'XnUInt32 XnIONetworkStream::m_nReadTimeout' [-Wreorder] 47 | XnUInt32 m_nReadTimeout; | ^~~~~~~~~~~~~~ ../../../../Source/XnCore/XnIONetworkStream.cpp:32:1: warning: when initialized here [-Wreorder] 32 | XnIONetworkStream::XnIONetworkStream(XN_SOCKET_HANDLE hSocket) : | ^~~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/Registration.h:27, from ../../../../Source/XnDeviceSensorV2/Registration.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnVersion.d x64-Release/XnVersion.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_CORE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnVersion.o ../../../../Source/XnCore/XnVersion.cpp In file included from ../../../../Source/XnDeviceSensorV2/Registration.cpp:24: ../../../../Source/XnDeviceSensorV2/Registration.h: In constructor 'XnRegistration::XnRegistration()': ../../../../Source/XnDeviceSensorV2/Registration.h:62:19: warning: 'XnRegistration::m_pRegistrationTable' will be initialized after [-Wreorder] 62 | XnUInt16* m_pRegistrationTable; | ^~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/Registration.h:60:19: warning: 'XnUInt16* XnRegistration::m_pDepthToShiftTable' [-Wreorder] 60 | XnUInt16* m_pDepthToShiftTable; | ^~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/Registration.cpp:31:1: warning: when initialized here [-Wreorder] 31 | XnRegistration::XnRegistration() : | ^~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/Registration.cpp:24: ../../../../Source/XnDeviceSensorV2/Registration.h:60:19: warning: 'XnRegistration::m_pDepthToShiftTable' will be initialized after [-Wreorder] 60 | XnUInt16* m_pDepthToShiftTable; | ^~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/Registration.h:58:30: warning: 'XnDevicePrivateData* XnRegistration::m_pDevicePrivateData' [-Wreorder] 58 | XnDevicePrivateData* m_pDevicePrivateData; | ^~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/Registration.cpp:31:1: warning: when initialized here [-Wreorder] 31 | XnRegistration::XnRegistration() : | ^~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/Registration.cpp:24: ../../../../Source/XnDeviceSensorV2/Registration.h:59:30: warning: 'XnRegistration::m_pDepthStream' will be initialized after [-Wreorder] 59 | XnSensorDepthStream* m_pDepthStream; | ^~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/Registration.h:56:16: warning: 'XnBool XnRegistration::m_bInitialized' [-Wreorder] 56 | XnBool m_bInitialized; | ^~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/Registration.cpp:31:1: warning: when initialized here [-Wreorder] 31 | XnRegistration::XnRegistration() : | ^~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/Registration.cpp:24: ../../../../Source/XnDeviceSensorV2/Registration.h:64:23: warning: 'XnRegistration::m_pTempBuffer' will be initialized after [-Wreorder] 64 | XnDepthPixel* m_pTempBuffer; | ^~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/Registration.h:61:16: warning: 'XnBool XnRegistration::m_bD2SAlloc' [-Wreorder] 61 | XnBool m_bD2SAlloc; | ^~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/Registration.cpp:31:1: warning: when initialized here [-Wreorder] 31 | XnRegistration::XnRegistration() : | ^~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/Registration.cpp: In member function 'XnStatus XnRegistration::TranslateSinglePixel1080(XnUInt32, XnUInt32, XnDepthPixel, XnUInt32&, XnUInt32&)': ../../../../Source/XnDeviceSensorV2/Registration.cpp:587:18: warning: unused variable 'nDepthYRes' [-Wunused-variable] 587 | XnUInt32 nDepthYRes = m_pDepthStream->GetYRes(); | ^~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/Registration.cpp:594:18: warning: unused variable 'nArrPos' [-Wunused-variable] 594 | XnUInt32 nArrPos = 0; | ^~~~~~~ mkdir -p ../../Bin/x64-Release g++ -o ../../Bin/x64-Release/libXnCore.so ./x64-Release/XnBuffer.o ./x64-Release/XnCore.o ./x64-Release/XnCoreStatus.o ./x64-Release/XnIOFileStream.o ./x64-Release/XnIONetworkStream.o ./x64-Release/XnVersion.o -L../../Bin/x64-Release -lOpenNI -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,--no-undefined -shared make[1]: Leaving directory '/builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Build/XnCore' make -C XnFormats CFG=Release make[1]: Entering directory '/builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Build' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. mkdir -p x64-Release g++ -MD -MP -MT "./x64-Release/XnCodecs.d x64-Release/XnCodecs.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_FORMATS_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnCodecs.o ../../../../Source/XnFormats/XnCodecs.cpp g++ -MD -MP -MT "./x64-Release/Uncomp.d x64-Release/Uncomp.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/Uncomp.o ../../../../Source/XnDeviceSensorV2/Uncomp.cpp In file included from ../../../../Source/XnFormats/XnNiCodec.h:28, from ../../../../Source/XnFormats/XnCodecs.cpp:29: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/Uncomp.h:27, from ../../../../Source/XnDeviceSensorV2/Uncomp.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnFormats.d x64-Release/XnFormats.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_FORMATS_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnFormats.o ../../../../Source/XnFormats/XnFormats.cpp g++ -MD -MP -MT "./x64-Release/XnAudioProcessor.d x64-Release/XnAudioProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnAudioProcessor.o ../../../../Source/XnDeviceSensorV2/XnAudioProcessor.cpp g++ -MD -MP -MT "./x64-Release/XnFormatsMirror.d x64-Release/XnFormatsMirror.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_FORMATS_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnFormatsMirror.o ../../../../Source/XnFormats/XnFormatsMirror.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnWholePacketProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnAudioProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnAudioProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ ../../../../Source/XnFormats/XnFormatsMirror.cpp: In function 'XnMirrorOneBytePixels(unsigned char*, unsigned int, unsigned int)': ../../../../Source/XnFormats/XnFormatsMirror.cpp:46:18: warning: array subscript -1 is outside array bounds of 'XnUInt8[5760]' [-Warray-bounds] 46 | XnUInt8* pDestEnd = &pLineBuffer[0] - 1; | ^~~~~~~~ ../../../../Source/XnFormats/XnFormatsMirror.cpp:42:17: note: while referencing 'pLineBuffer' 42 | XnUInt8 pLineBuffer[XN_MIRROR_MAX_LINE_SIZE]; | ^~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnAudioProcessor.cpp:24: ../../../../Source/XnDeviceSensorV2/XnAudioProcessor.h: In constructor 'XnAudioProcessor::XnAudioProcessor(XnSensorAudioStream*, XnSensorStreamHelper*, XnDeviceAudioBuffer*, XnUInt32)': ../../../../Source/XnDeviceSensorV2/XnAudioProcessor.h:65:31: warning: 'XnAudioProcessor::m_pHelper' will be initialized after [-Wreorder] 65 | XnSensorStreamHelper* m_pHelper; | ^~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnAudioProcessor.h:64:30: warning: 'XnDeviceAudioBuffer* XnAudioProcessor::m_pBuffer' [-Wreorder] 64 | XnDeviceAudioBuffer* m_pBuffer; | ^~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnAudioProcessor.cpp:30:1: warning: when initialized here [-Wreorder] 30 | XnAudioProcessor::XnAudioProcessor(XnSensorAudioStream* pStream, XnSensorStreamHelper* pHelper, XnDeviceAudioBuffer* pBuffer, XnUInt32 nInputPacketSize) : | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnAudioProcessor.cpp:24: ../../../../Source/XnDeviceSensorV2/XnAudioProcessor.h:64:30: warning: 'XnAudioProcessor::m_pBuffer' will be initialized after [-Wreorder] 64 | XnDeviceAudioBuffer* m_pBuffer; | ^~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnAudioProcessor.h:61:21: warning: 'XnDumpFile* XnAudioProcessor::m_AudioInDump' [-Wreorder] 61 | XnDumpFile* m_AudioInDump; | ^~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnAudioProcessor.cpp:30:1: warning: when initialized here [-Wreorder] 30 | XnAudioProcessor::XnAudioProcessor(XnSensorAudioStream* pStream, XnSensorStreamHelper* pHelper, XnDeviceAudioBuffer* pBuffer, XnUInt32 nInputPacketSize) : | ^~~~~~~~~~~~~~~~ ../../../../Source/XnFormats/XnFormatsMirror.cpp: In function 'XnMirrorTwoBytePixels(unsigned char*, unsigned int, unsigned int)': ../../../../Source/XnFormats/XnFormatsMirror.cpp:79:19: warning: array subscript -1 is outside array bounds of 'XnUInt16[5760]' [-Warray-bounds] 79 | XnUInt16* pDestEnd = &pLineBuffer[0] - 1; | ^~~~~~~~ ../../../../Source/XnFormats/XnFormatsMirror.cpp:75:18: note: while referencing 'pLineBuffer' 75 | XnUInt16 pLineBuffer[XN_MIRROR_MAX_LINE_SIZE]; | ^~~~~~~~~~~ ../../../../Source/XnFormats/XnFormatsMirror.cpp: In function 'XnMirrorThreeBytePixels(unsigned char*, unsigned int, unsigned int)': ../../../../Source/XnFormats/XnFormatsMirror.cpp:115:18: warning: array subscript -1 is outside array bounds of 'XnUInt8[5760]' [-Warray-bounds] 115 | XnUInt8* pDestEnd = &pLineBuffer[0] - 1; | ^~~~~~~~ ../../../../Source/XnFormats/XnFormatsMirror.cpp:111:17: note: while referencing 'pLineBuffer' 111 | XnUInt8 pLineBuffer[XN_MIRROR_MAX_LINE_SIZE]; | ^~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnFormatsStatus.d x64-Release/XnFormatsStatus.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_FORMATS_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnFormatsStatus.o ../../../../Source/XnFormats/XnFormatsStatus.cpp g++ -MD -MP -MT "./x64-Release/XnStreamCompression.d x64-Release/XnStreamCompression.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_FORMATS_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnStreamCompression.o ../../../../Source/XnFormats/XnStreamCompression.cpp g++ -MD -MP -MT "./x64-Release/XnBayerImageProcessor.d x64-Release/XnBayerImageProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnBayerImageProcessor.o ../../../../Source/XnDeviceSensorV2/XnBayerImageProcessor.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnImageProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnBayerImageProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnBayerImageProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnBayerImageProcessor.cpp: In member function 'virtual void XnBayerImageProcessor::OnEndOfFrame(const XnSensorProtocolResponseHeader*)': ../../../../Source/XnDeviceSensorV2/XnBayerImageProcessor.cpp:139:16: warning: enumeration value 'XN_OUTPUT_FORMAT_SHIFT_VALUES' not handled in switch [-Wswitch] 139 | switch (GetStream()->GetOutputFormat()) | ^ ../../../../Source/XnDeviceSensorV2/XnBayerImageProcessor.cpp:139:16: warning: enumeration value 'XN_OUTPUT_FORMAT_DEPTH_VALUES' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnBayerImageProcessor.cpp:139:16: warning: enumeration value 'XN_OUTPUT_FORMAT_GRAYSCALE16' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnBayerImageProcessor.cpp:139:16: warning: enumeration value 'XN_OUTPUT_FORMAT_YUV422' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnBayerImageProcessor.cpp:139:16: warning: enumeration value 'XN_OUTPUT_FORMAT_JPEG' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnBayerImageProcessor.cpp:139:16: warning: enumeration value 'XN_OUTPUT_FORMAT_PCM' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnBayerImageProcessor.cpp:139:16: warning: enumeration value 'XN_OUTPUT_FORMATS_COUNT' not handled in switch [-Wswitch] g++ -MD -MP -MT "./x64-Release/XnCmosInfo.d x64-Release/XnCmosInfo.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnCmosInfo.o ../../../../Source/XnDeviceSensorV2/XnCmosInfo.cpp g++ -o ../../Bin/x64-Release/libXnFormats.so ./x64-Release/XnCodecs.o ./x64-Release/XnFormats.o ./x64-Release/XnFormatsMirror.o ./x64-Release/XnFormatsStatus.o ./x64-Release/XnStreamCompression.o -L../../Bin/x64-Release -lXnCore -lOpenNI -ljpeg -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,--no-undefined -shared In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnFirmwareCommands.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorFirmware.h:28, from ../../../../Source/XnDeviceSensorV2/XnCmosInfo.h:27, from ../../../../Source/XnDeviceSensorV2/XnCmosInfo.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnDataProcessor.d x64-Release/XnDataProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDataProcessor.o ../../../../Source/XnDeviceSensorV2/XnDataProcessor.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.cpp:24: ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h: In constructor 'XnDataProcessor::XnDataProcessor(XnDevicePrivateData*, const XnChar*)': ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:96:23: warning: 'XnDataProcessor::m_csName' will be initialized after [-Wreorder] 96 | const XnChar* m_csName; | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:94:12: warning: 'XnUInt8 XnDataProcessor::m_nLastPacketID' [-Wreorder] 94 | XnUInt8 m_nLastPacketID; | ^~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnDataProcessor.cpp:31:1: warning: when initialized here [-Wreorder] 31 | XnDataProcessor::XnDataProcessor(XnDevicePrivateData* pDevicePrivateData, const XnChar* csName) : | ^~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.cpp:24: ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:94:12: warning: 'XnDataProcessor::m_nLastPacketID' will be initialized after [-Wreorder] 94 | XnUInt8 m_nLastPacketID; | ^~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:90:18: warning: 'XnUInt32 XnDataProcessor::m_nBytesReceived' [-Wreorder] 90 | XnUInt32 m_nBytesReceived; | ^~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnDataProcessor.cpp:31:1: warning: when initialized here [-Wreorder] 31 | XnDataProcessor::XnDataProcessor(XnDevicePrivateData* pDevicePrivateData, const XnChar* csName) : | ^~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Build/XnFormats' make -C XnDDK CFG=Release make[1]: Entering directory '/builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Build' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. mkdir -p x64-Release g++ -MD -MP -MT "./x64-Release/XnActualGeneralProperty.d x64-Release/XnActualGeneralProperty.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnActualGeneralProperty.o ../../../../Source/XnDDK/XnActualGeneralProperty.cpp g++ -MD -MP -MT "./x64-Release/XnDataProcessorHolder.d x64-Release/XnDataProcessorHolder.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDataProcessorHolder.o ../../../../Source/XnDeviceSensorV2/XnDataProcessorHolder.cpp g++ -MD -MP -MT "./x64-Release/XnActualIntProperty.d x64-Release/XnActualIntProperty.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnActualIntProperty.o ../../../../Source/XnDDK/XnActualIntProperty.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnDataProcessorHolder.h:27, from ../../../../Source/XnDeviceSensorV2/XnDataProcessorHolder.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDataProcessorHolder.cpp:24: ../../../../Source/XnDeviceSensorV2/XnDataProcessorHolder.h: In constructor 'XnDataProcessorHolder::XnDataProcessorHolder()': ../../../../Source/XnDeviceSensorV2/XnDataProcessorHolder.h:50:26: warning: 'XnDataProcessorHolder::m_pProcessor' will be initialized after [-Wreorder] 50 | XnDataProcessor* m_pProcessor; | ^~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnDataProcessorHolder.h:49:36: warning: 'XnMutex* XnDataProcessorHolder::m_hLock' [-Wreorder] 49 | XN_CRITICAL_SECTION_HANDLE m_hLock; | ^~~~~~~ ../../../../Source/XnDeviceSensorV2/XnDataProcessorHolder.cpp:30:1: warning: when initialized here [-Wreorder] 30 | XnDataProcessorHolder::XnDataProcessorHolder() : | ^~~~~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnDepthProcessor.d x64-Release/XnDepthProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDepthProcessor.o ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.cpp g++ -MD -MP -MT "./x64-Release/XnActualPropertiesHash.d x64-Release/XnActualPropertiesHash.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnActualPropertiesHash.o ../../../../Source/XnDDK/XnActualPropertiesHash.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.cpp:24: ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.h: In constructor 'XnDepthProcessor::XnDepthProcessor(XnSensorDepthStream*, XnSensorStreamHelper*, XnFrameBufferManager*)': ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.h:108:23: warning: 'XnDepthProcessor::m_pShiftToDepthTable' will be initialized after [-Wreorder] 108 | XnDepthPixel* m_pShiftToDepthTable; | ^~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.h:105:18: warning: 'XnUInt32 XnDepthProcessor::m_nPaddingPixelsOnEnd' [-Wreorder] 105 | XnUInt32 m_nPaddingPixelsOnEnd; | ^~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.cpp:36:1: warning: when initialized here [-Wreorder] 36 | XnDepthProcessor::XnDepthProcessor(XnSensorDepthStream* pStream, XnSensorStreamHelper* pHelper, XnFrameBufferManager* pBufferManager) : | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.cpp:24: ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.h:107:16: warning: 'XnDepthProcessor::m_bShiftToDepthAllocated' will be initialized after [-Wreorder] 107 | XnBool m_bShiftToDepthAllocated; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.h:106:18: warning: 'XnUInt32 XnDepthProcessor::m_nExpectedFrameSize' [-Wreorder] 106 | XnUInt32 m_nExpectedFrameSize; | ^~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.cpp:36:1: warning: when initialized here [-Wreorder] 36 | XnDepthProcessor::XnDepthProcessor(XnSensorDepthStream* pStream, XnSensorStreamHelper* pHelper, XnFrameBufferManager* pBufferManager) : | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/ni/Linux-x86/XnPlatformLinux-x86.h:34, from /usr/include/ni/XnPlatform.h:65, from ../../../../Include/XnDevice.h:27, from ../../../../Source/XnDDK/XnProperty.h:27, from ../../../../Source/XnDDK/XnActualPropertiesHash.h:24, from ../../../../Source/XnDDK/XnActualPropertiesHash.cpp:21: In function 'strncpy', inlined from 'XnActualPropertiesHash::XnActualPropertiesHash(char const*)' at ../../../../Source/XnDDK/XnActualPropertiesHash.cpp:30:9: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnDeviceSensor.d x64-Release/XnDeviceSensor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceSensor.o ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.cpp:25: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnActualPropertyFactory.d x64-Release/XnActualPropertyFactory.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnActualPropertyFactory.o ../../../../Source/XnDDK/XnActualPropertyFactory.cpp g++ -MD -MP -MT "./x64-Release/XnActualRealProperty.d x64-Release/XnActualRealProperty.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnActualRealProperty.o ../../../../Source/XnDDK/XnActualRealProperty.cpp g++ -MD -MP -MT "./x64-Release/XnDeviceSensorIO.d x64-Release/XnDeviceSensorIO.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceSensorIO.o ../../../../Source/XnDeviceSensorV2/XnDeviceSensorIO.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDeviceSensorIO.cpp:25: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnActualStringProperty.d x64-Release/XnActualStringProperty.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnActualStringProperty.o ../../../../Source/XnDDK/XnActualStringProperty.cpp ../../../../Source/XnDeviceSensorV2/XnDeviceSensorIO.cpp: In member function 'XnStatus XnSensorIO::OpenDevice(const XnChar*, XnBool)': ../../../../Source/XnDeviceSensorV2/XnDeviceSensorIO.cpp:71:26: warning: unused variable 'DevSpeed' [-Wunused-variable] 71 | XnUSBDeviceSpeed DevSpeed; | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnDeviceSensorIO.cpp: In member function 'XnStatus XnSensorIO::OpenDataEndPoints(XnSensorUsbInterface, const XnFirmwareInfo&)': ../../../../Source/XnDeviceSensorV2/XnDeviceSensorIO.cpp:201:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 201 | if (nInterface == XN_SENSOR_USB_INTERFACE_BULK_ENDPOINTS && m_pSensorHandle->DepthConnection.bIsISO || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnDeviceSensorIO.cpp: In static member function 'static XnStatus XnSensorIO::IsSensorLowBandwidth(const XnChar*, XnBool*)': ../../../../Source/XnDeviceSensorV2/XnDeviceSensorIO.cpp:434:28: warning: unused variable 'cpMatchString' [-Wunused-variable] 434 | XnConnectionString cpMatchString; | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/ni/Linux-x86/XnPlatformLinux-x86.h:34, from /usr/include/ni/XnPlatform.h:65, from ../../../../Include/XnDevice.h:27, from ../../../../Source/XnDDK/XnProperty.h:27, from ../../../../Source/XnDDK/XnStringProperty.h:27, from ../../../../Source/XnDDK/XnActualStringProperty.h:27, from ../../../../Source/XnDDK/XnActualStringProperty.cpp:24: In function 'strncpy', inlined from 'XnActualStringProperty::XnActualStringProperty(char const*, char const*, char const*)' at ../../../../Source/XnDDK/XnActualStringProperty.cpp:32:9: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnAudioStream.d x64-Release/XnAudioStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnAudioStream.o ../../../../Source/XnDDK/XnAudioStream.cpp g++ -MD -MP -MT "./x64-Release/XnDeviceSensorInit.d x64-Release/XnDeviceSensorInit.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceSensorInit.o ../../../../Source/XnDeviceSensorV2/XnDeviceSensorInit.cpp g++ -MD -MP -MT "./x64-Release/XnBackwardsCompatibility36.d x64-Release/XnBackwardsCompatibility36.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnBackwardsCompatibility36.o ../../../../Source/XnDDK/XnBackwardsCompatibility36.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDeviceSensorInit.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnBufferPool.d x64-Release/XnBufferPool.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnBufferPool.o ../../../../Source/XnDDK/XnBufferPool.cpp g++ -MD -MP -MT "./x64-Release/XnDeviceSensorProtocol.d x64-Release/XnDeviceSensorProtocol.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceSensorProtocol.o ../../../../Source/XnDeviceSensorV2/XnDeviceSensorProtocol.cpp In file included from ../../../../Source/XnDDK/XnBufferPool.h:27, from ../../../../Source/XnDDK/XnBufferPool.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDeviceSensorProtocol.h:27, from ../../../../Source/XnDeviceSensorV2/XnDeviceSensorProtocol.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnDeviceSensorProtocol.cpp: In function 'XnBool XnDeviceSensorProtocolUsbEpCb(XnUChar*, XnUInt32, void*)': ../../../../Source/XnDeviceSensorV2/XnDeviceSensorProtocol.cpp:54:24: warning: enumeration value 'XN_HALF_MAGIC' not handled in switch [-Wswitch] 54 | switch (pCurrState->State) | ^ ../../../../Source/XnDeviceSensorV2/XnDeviceSensorProtocol.cpp: In function 'XnStatus XnDeviceSensorProtocolDumpLastRawFrameImpl(XnDevicePrivateData*, const XnChar*, const XnChar*)': ../../../../Source/XnDeviceSensorV2/XnDeviceSensorProtocol.cpp:227:21: warning: comparison with string literal results in unspecified behavior [-Waddress] 227 | if (strType == XN_STREAM_TYPE_DEPTH) g++ -MD -MP -MT "./x64-Release/XnCodecFactory.d x64-Release/XnCodecFactory.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnCodecFactory.o ../../../../Source/XnDDK/XnCodecFactory.cpp g++ -MD -MP -MT "./x64-Release/XnExportedSensorDevice.d x64-Release/XnExportedSensorDevice.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnExportedSensorDevice.o ../../../../Source/XnDeviceSensorV2/XnExportedSensorDevice.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnExportedSensorDevice.h:27, from ../../../../Source/XnDeviceSensorV2/XnExportedSensorDevice.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from /usr/include/ni/XnModuleCppInterface.h:35, from ../../../../Source/XnDeviceSensorV2/XnExportedSensorDevice.h:28, from ../../../../Source/XnDeviceSensorV2/XnExportedSensorDevice.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnDDK.d x64-Release/XnDDK.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDDK.o ../../../../Source/XnDDK/XnDDK.cpp g++ -MD -MP -MT "./x64-Release/XnDDKStatus.d x64-Release/XnDDKStatus.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDDKStatus.o ../../../../Source/XnDDK/XnDDKStatus.cpp g++ -MD -MP -MT "./x64-Release/XnDataPacker.d x64-Release/XnDataPacker.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDataPacker.o ../../../../Source/XnDDK/XnDataPacker.cpp g++ -MD -MP -MT "./x64-Release/XnExportedSensorGenerator.d x64-Release/XnExportedSensorGenerator.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnExportedSensorGenerator.o ../../../../Source/XnDeviceSensorV2/XnExportedSensorGenerator.cpp In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDDK/XnDataPacker.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDDK/XnDataPacker.cpp:24: ../../../../Source/XnDDK/XnDataPacker.h: In constructor 'XnDataPacker::XnDataPacker(XnIOStream*, XnUInt32)': ../../../../Source/XnDDK/XnDataPacker.h:299:18: warning: 'XnDataPacker::m_nInternalBufferReadIndex' will be initialized after [-Wreorder] 299 | XnUInt32 m_nInternalBufferReadIndex; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDDK/XnDataPacker.h:298:29: warning: 'XnPackedDataHeader* XnDataPacker::m_pCurrentHeader' [-Wreorder] 298 | XnPackedDataHeader* m_pCurrentHeader; | ^~~~~~~~~~~~~~~~ ../../../../Source/XnDDK/XnDataPacker.cpp:67:1: warning: when initialized here [-Wreorder] 67 | XnDataPacker::XnDataPacker(XnIOStream* pStream, XnUInt32 nInternalBufferSize) : | ^~~~~~~~~~~~ In file included from /usr/include/ni/XnModuleCppInterface.h:35, from ../../../../Source/XnDeviceSensorV2/XnExportedSensorGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnExportedSensorGenerator.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnExportedSensorGenerator.h:28, from ../../../../Source/XnDeviceSensorV2/XnExportedSensorGenerator.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnDepthStream.d x64-Release/XnDepthStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDepthStream.o ../../../../Source/XnDDK/XnDepthStream.cpp g++ -MD -MP -MT "./x64-Release/XnFirmwareCommands.d x64-Release/XnFirmwareCommands.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnFirmwareCommands.o ../../../../Source/XnDeviceSensorV2/XnFirmwareCommands.cpp In file included from ../../../../Source/XnDDK/XnFrameBufferManager.h:28, from ../../../../Source/XnDDK/XnFrameStream.h:28, from ../../../../Source/XnDDK/XnPixelStream.h:27, from ../../../../Source/XnDDK/XnDepthStream.h:27, from ../../../../Source/XnDDK/XnDepthStream.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnFirmwareCommands.h:27, from ../../../../Source/XnDeviceSensorV2/XnFirmwareCommands.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnFirmwareInfo.d x64-Release/XnFirmwareInfo.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnFirmwareInfo.o ../../../../Source/XnDeviceSensorV2/XnFirmwareInfo.cpp g++ -MD -MP -MT "./x64-Release/XnFirmwareStreams.d x64-Release/XnFirmwareStreams.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnFirmwareStreams.o ../../../../Source/XnDeviceSensorV2/XnFirmwareStreams.cpp g++ -MD -MP -MT "./x64-Release/XnDeviceBase.d x64-Release/XnDeviceBase.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceBase.o ../../../../Source/XnDDK/XnDeviceBase.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnDataProcessorHolder.h:27, from ../../../../Source/XnDeviceSensorV2/XnFirmwareStreams.h:27, from ../../../../Source/XnDeviceSensorV2/XnFirmwareStreams.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDDK/XnDeviceBase.cpp:24: ../../../../Source/XnDDK/XnDeviceBase.h: In constructor 'XnDeviceBase::XnDeviceBase(const XnChar*, XnBool)': ../../../../Source/XnDDK/XnDeviceBase.h:280:32: warning: 'XnDeviceBase::m_DeviceName' will be initialized after [-Wreorder] 280 | XnActualStringProperty m_DeviceName; | ^~~~~~~~~~~~ ../../../../Source/XnDDK/XnDeviceBase.h:274:29: warning: 'XnActualIntProperty XnDeviceBase::m_ReadWriteMode' [-Wreorder] 274 | XnActualIntProperty m_ReadWriteMode; | ^~~~~~~~~~~~~~~ ../../../../Source/XnDDK/XnDeviceBase.cpp:57:1: warning: when initialized here [-Wreorder] 57 | XnDeviceBase::XnDeviceBase(const XnChar* csName, XnBool bStrictProperties) : | ^~~~~~~~~~~~ In file included from ../../../../Source/XnDDK/XnDeviceBase.cpp:24: ../../../../Source/XnDDK/XnDeviceBase.h:279:29: warning: 'XnDeviceBase::m_HighResTimestamps' will be initialized after [-Wreorder] 279 | XnActualIntProperty m_HighResTimestamps; | ^~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDDK/XnDeviceBase.h:278:33: warning: 'XnActualGeneralProperty XnDeviceBase::m_SDKVersionProp' [-Wreorder] 278 | XnActualGeneralProperty m_SDKVersionProp; | ^~~~~~~~~~~~~~~~ ../../../../Source/XnDDK/XnDeviceBase.cpp:57:1: warning: when initialized here [-Wreorder] 57 | XnDeviceBase::XnDeviceBase(const XnChar* csName, XnBool bStrictProperties) : | ^~~~~~~~~~~~ In file included from ../../../../Source/XnDDK/XnDeviceBase.cpp:24: ../../../../Source/XnDDK/XnDeviceBase.h:278:33: warning: 'XnDeviceBase::m_SDKVersionProp' will be initialized after [-Wreorder] 278 | XnActualGeneralProperty m_SDKVersionProp; | ^~~~~~~~~~~~~~~~ ../../../../Source/XnDDK/XnDeviceBase.h:275:29: warning: 'XnActualIntProperty XnDeviceBase::m_SharingMode' [-Wreorder] 275 | XnActualIntProperty m_SharingMode; | ^~~~~~~~~~~~~ ../../../../Source/XnDDK/XnDeviceBase.cpp:57:1: warning: when initialized here [-Wreorder] 57 | XnDeviceBase::XnDeviceBase(const XnChar* csName, XnBool bStrictProperties) : | ^~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnFrameStreamProcessor.d x64-Release/XnFrameStreamProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnFrameStreamProcessor.o ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.cpp: In member function 'XnFrameStreamProcessor::XnFrameStreamProcessor(XnFrameStream*, XnSensorStreamHelper*, XnFrameBufferManager*, unsigned short, unsigned short)': ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.cpp:43:34: warning: '%s' directive writing up to 199 bytes into a region of size 100 [-Wformat-overflow=] 43 | sprintf(m_csInDumpMask, "%sIn", pStream->GetType()); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/ni/Linux-x86/XnPlatformLinux-x86.h:33, from /usr/include/ni/XnPlatform.h:65, from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:27, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.cpp:24: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output between 3 and 202 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.cpp:44:48: warning: '%s' directive writing up to 199 bytes into a region of size 92 [-Wformat-overflow=] 44 | sprintf(m_csInternalDumpMask, "Internal%s", pStream->GetType()); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/ni/Linux-x86/XnPlatformLinux-x86.h:33, from /usr/include/ni/XnPlatform.h:65, from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:27, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.cpp:24: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output between 9 and 208 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnHostProtocol.d x64-Release/XnHostProtocol.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnHostProtocol.o ../../../../Source/XnDeviceSensorV2/XnHostProtocol.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDeviceSensorProtocol.h:27, from ../../../../Source/XnDeviceSensorV2/XnHostProtocol.cpp:21: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnHostProtocol.cpp: In function 'XnStatus XnHostProtocolExecute(const XnDevicePrivateData*, XnUChar*, XnUInt16, XnUInt16, XnUChar**, XnUInt16&, XnUInt32)': ../../../../Source/XnDeviceSensorV2/XnHostProtocol.cpp:938:17: warning: variable 'nDataRead' set but not used [-Wunused-but-set-variable] 938 | XnInt32 nDataRead = 0; | ^~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnHostProtocol.cpp: In function 'XnStatus XnHostProtocolGetUsbCoreType(XnDevicePrivateData*, XnHostProtocolUsbCore&)': ../../../../Source/XnDeviceSensorV2/XnHostProtocol.cpp:2148:18: warning: unused variable 'pDataBuf' [-Wunused-variable] 2148 | XnUChar* pDataBuf = buffer + pDevicePrivateData->FWInfo.nProtocolHeaderSize; | ^~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/ni/Linux-x86/XnPlatformLinux-x86.h:34, from /usr/include/ni/XnPlatform.h:65, from ../../../../Include/XnDevice.h:27, from ../../../../Source/XnDDK/IXnDevice.h:27, from ../../../../Source/XnDDK/XnDeviceBase.h:27, from ../../../../Source/XnDDK/XnDeviceBase.cpp:24: In function 'strncpy', inlined from 'XnDeviceBase::DestroyStream(char const*)' at ../../../../Source/XnDDK/XnDeviceBase.cpp:1471:9: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnIRProcessor.d x64-Release/XnIRProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnIRProcessor.o ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp g++ -MD -MP -MT "./x64-Release/XnDeviceBaseProxy.d x64-Release/XnDeviceBaseProxy.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceBaseProxy.o ../../../../Source/XnDDK/XnDeviceBaseProxy.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnIRProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnDeviceManager.d x64-Release/XnDeviceManager.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceManager.o ../../../../Source/XnDDK/XnDeviceManager.cpp ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp: In member function 'virtual XnStatus XnIRProcessor::Init()': ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:61:16: warning: enumeration value 'XN_OUTPUT_FORMAT_SHIFT_VALUES' not handled in switch [-Wswitch] 61 | switch (GetStream()->GetOutputFormat()) | ^ ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:61:16: warning: enumeration value 'XN_OUTPUT_FORMAT_DEPTH_VALUES' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:61:16: warning: enumeration value 'XN_OUTPUT_FORMAT_GRAYSCALE8' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:61:16: warning: enumeration value 'XN_OUTPUT_FORMAT_YUV422' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:61:16: warning: enumeration value 'XN_OUTPUT_FORMAT_JPEG' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:61:16: warning: enumeration value 'XN_OUTPUT_FORMAT_PCM' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:61:16: warning: enumeration value 'XN_OUTPUT_FORMATS_COUNT' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp: In member function 'virtual void XnIRProcessor::OnEndOfFrame(const XnSensorProtocolResponseHeader*)': ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:253:16: warning: enumeration value 'XN_OUTPUT_FORMAT_SHIFT_VALUES' not handled in switch [-Wswitch] 253 | switch (GetStream()->GetOutputFormat()) | ^ ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:253:16: warning: enumeration value 'XN_OUTPUT_FORMAT_DEPTH_VALUES' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:253:16: warning: enumeration value 'XN_OUTPUT_FORMAT_GRAYSCALE8' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:253:16: warning: enumeration value 'XN_OUTPUT_FORMAT_YUV422' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:253:16: warning: enumeration value 'XN_OUTPUT_FORMAT_JPEG' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:253:16: warning: enumeration value 'XN_OUTPUT_FORMAT_PCM' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnIRProcessor.cpp:253:16: warning: enumeration value 'XN_OUTPUT_FORMATS_COUNT' not handled in switch [-Wswitch] ../../../../Source/XnDDK/XnDeviceManager.cpp: In function 'XnStatus XnDeviceManagerGetDeviceByName(const XnChar*, XnDeviceDescriptor**)': ../../../../Source/XnDDK/XnDeviceManager.cpp:260:18: warning: variable 'nRetVal' set but not used [-Wunused-but-set-variable] 260 | XnStatus nRetVal = XN_STATUS_OK; | ^~~~~~~ g++ -MD -MP -MT "./x64-Release/XnImageProcessor.d x64-Release/XnImageProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnImageProcessor.o ../../../../Source/XnDeviceSensorV2/XnImageProcessor.cpp g++ -MD -MP -MT "./x64-Release/XnDeviceModule.d x64-Release/XnDeviceModule.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceModule.o ../../../../Source/XnDDK/XnDeviceModule.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnImageProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnImageProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnJpegImageProcessor.d x64-Release/XnJpegImageProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnJpegImageProcessor.o ../../../../Source/XnDeviceSensorV2/XnJpegImageProcessor.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnImageProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnJpegImageProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnJpegImageProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/ni/Linux-x86/XnPlatformLinux-x86.h:34, from /usr/include/ni/XnPlatform.h:65, from ../../../../Source/XnDDK/XnDeviceModule.h:27, from ../../../../Source/XnDDK/XnDeviceModule.cpp:24: In function 'strncpy', inlined from 'XnDeviceModule::XnDeviceModule(char const*)' at ../../../../Source/XnDDK/XnDeviceModule.cpp:40:9: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnJpegToRGBImageProcessor.d x64-Release/XnJpegToRGBImageProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnJpegToRGBImageProcessor.o ../../../../Source/XnDeviceSensorV2/XnJpegToRGBImageProcessor.cpp g++ -MD -MP -MT "./x64-Release/XnDeviceModuleHolder.d x64-Release/XnDeviceModuleHolder.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceModuleHolder.o ../../../../Source/XnDDK/XnDeviceModuleHolder.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnImageProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnJpegToRGBImageProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnJpegToRGBImageProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnMultiPropChangedHandler.d x64-Release/XnMultiPropChangedHandler.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnMultiPropChangedHandler.o ../../../../Source/XnDeviceSensorV2/XnMultiPropChangedHandler.cpp g++ -MD -MP -MT "./x64-Release/XnDeviceProxy.d x64-Release/XnDeviceProxy.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceProxy.o ../../../../Source/XnDDK/XnDeviceProxy.cpp In file included from /usr/include/ni/XnModuleCppInterface.h:35, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:27, from ../../../../Source/XnDeviceSensorV2/XnMultiPropChangedHandler.h:29, from ../../../../Source/XnDeviceSensorV2/XnMultiPropChangedHandler.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:28, from ../../../../Source/XnDeviceSensorV2/XnMultiPropChangedHandler.h:29, from ../../../../Source/XnDeviceSensorV2/XnMultiPropChangedHandler.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnPSCompressedDepthProcessor.d x64-Release/XnPSCompressedDepthProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnPSCompressedDepthProcessor.o ../../../../Source/XnDeviceSensorV2/XnPSCompressedDepthProcessor.cpp g++ -MD -MP -MT "./x64-Release/XnDeviceStream.d x64-Release/XnDeviceStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceStream.o ../../../../Source/XnDDK/XnDeviceStream.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnPSCompressedDepthProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnPSCompressedDepthProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnExternalBufferPool.d x64-Release/XnExternalBufferPool.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnExternalBufferPool.o ../../../../Source/XnDDK/XnExternalBufferPool.cpp g++ -MD -MP -MT "./x64-Release/XnPSCompressedImageProcessor.d x64-Release/XnPSCompressedImageProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnPSCompressedImageProcessor.o ../../../../Source/XnDeviceSensorV2/XnPSCompressedImageProcessor.cpp In file included from ../../../../Source/XnDDK/XnBufferPool.h:27, from ../../../../Source/XnDDK/XnExternalBufferPool.h:27, from ../../../../Source/XnDDK/XnExternalBufferPool.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnImageProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnPSCompressedImageProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnPSCompressedImageProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnPSCompressedImageProcessor.cpp: In member function 'virtual void XnPSCompressedImageProcessor::OnEndOfFrame(const XnSensorProtocolResponseHeader*)': ../../../../Source/XnDeviceSensorV2/XnPSCompressedImageProcessor.cpp:140:16: warning: enumeration value 'XN_OUTPUT_FORMAT_SHIFT_VALUES' not handled in switch [-Wswitch] 140 | switch (GetStream()->GetOutputFormat()) | ^ ../../../../Source/XnDeviceSensorV2/XnPSCompressedImageProcessor.cpp:140:16: warning: enumeration value 'XN_OUTPUT_FORMAT_DEPTH_VALUES' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnPSCompressedImageProcessor.cpp:140:16: warning: enumeration value 'XN_OUTPUT_FORMAT_GRAYSCALE8' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnPSCompressedImageProcessor.cpp:140:16: warning: enumeration value 'XN_OUTPUT_FORMAT_GRAYSCALE16' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnPSCompressedImageProcessor.cpp:140:16: warning: enumeration value 'XN_OUTPUT_FORMAT_JPEG' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnPSCompressedImageProcessor.cpp:140:16: warning: enumeration value 'XN_OUTPUT_FORMAT_PCM' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnPSCompressedImageProcessor.cpp:140:16: warning: enumeration value 'XN_OUTPUT_FORMATS_COUNT' not handled in switch [-Wswitch] g++ -MD -MP -MT "./x64-Release/XnFrameBufferManager.d x64-Release/XnFrameBufferManager.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnFrameBufferManager.o ../../../../Source/XnDDK/XnFrameBufferManager.cpp In file included from ../../../../Source/XnDDK/XnFrameBufferManager.h:28, from ../../../../Source/XnDDK/XnFrameBufferManager.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnPacked11DepthProcessor.d x64-Release/XnPacked11DepthProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnPacked11DepthProcessor.o ../../../../Source/XnDeviceSensorV2/XnPacked11DepthProcessor.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnPacked11DepthProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnPacked11DepthProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnFrameStream.d x64-Release/XnFrameStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnFrameStream.o ../../../../Source/XnDDK/XnFrameStream.cpp In file included from ../../../../Source/XnDDK/XnFrameBufferManager.h:28, from ../../../../Source/XnDDK/XnFrameStream.h:28, from ../../../../Source/XnDDK/XnFrameStream.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDDK/XnFrameStream.cpp:24: ../../../../Source/XnDDK/XnFrameStream.h: In constructor 'XnFrameStream::XnFrameStream(const XnChar*, const XnChar*)': ../../../../Source/XnDDK/XnFrameStream.h:105:27: warning: 'XnFrameStream::m_LastRawFrame' will be initialized after [-Wreorder] 105 | XnGeneralProperty m_LastRawFrame; | ^~~~~~~~~~~~~~ ../../../../Source/XnDDK/XnFrameStream.h:104:27: warning: 'XnGeneralProperty XnFrameStream::m_externalBufferPool' [-Wreorder] 104 | XnGeneralProperty m_externalBufferPool; | ^~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDDK/XnFrameStream.cpp:32:1: warning: when initialized here [-Wreorder] 32 | XnFrameStream::XnFrameStream(const XnChar* csType, const XnChar* csName) : | ^~~~~~~~~~~~~ In file included from ../../../../Source/XnDDK/XnFrameStream.cpp:24: ../../../../Source/XnDDK/XnFrameStream.h:104:27: warning: 'XnFrameStream::m_externalBufferPool' will be initialized after [-Wreorder] 104 | XnGeneralProperty m_externalBufferPool; | ^~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDDK/XnFrameStream.h:100:18: warning: 'XnUInt32 XnFrameStream::m_nLastReadFrame' [-Wreorder] 100 | XnUInt32 m_nLastReadFrame; // the ID that was given | ^~~~~~~~~~~~~~~~ ../../../../Source/XnDDK/XnFrameStream.cpp:32:1: warning: when initialized here [-Wreorder] 32 | XnFrameStream::XnFrameStream(const XnChar* csType, const XnChar* csName) : | ^~~~~~~~~~~~~ In file included from ../../../../Source/XnDDK/XnFrameStream.cpp:24: ../../../../Source/XnDDK/XnFrameStream.h:106:16: warning: 'XnFrameStream::m_bTripleBufferReallocated' will be initialized after [-Wreorder] 106 | XnBool m_bTripleBufferReallocated; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDDK/XnFrameStream.h:96:31: warning: 'XnFrameBufferManager* XnFrameStream::m_pBufferManager' [-Wreorder] 96 | XnFrameBufferManager* m_pBufferManager; | ^~~~~~~~~~~~~~~~ ../../../../Source/XnDDK/XnFrameStream.cpp:32:1: warning: when initialized here [-Wreorder] 32 | XnFrameStream::XnFrameStream(const XnChar* csType, const XnChar* csName) : | ^~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnPacked12DepthProcessor.d x64-Release/XnPacked12DepthProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnPacked12DepthProcessor.o ../../../../Source/XnDeviceSensorV2/XnPacked12DepthProcessor.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnPacked12DepthProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnPacked12DepthProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnGeneralProperty.d x64-Release/XnGeneralProperty.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnGeneralProperty.o ../../../../Source/XnDDK/XnGeneralProperty.cpp g++ -MD -MP -MT "./x64-Release/XnIRStream.d x64-Release/XnIRStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnIRStream.o ../../../../Source/XnDDK/XnIRStream.cpp g++ -MD -MP -MT "./x64-Release/XnSensor.d x64-Release/XnSensor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensor.o ../../../../Source/XnDeviceSensorV2/XnSensor.cpp In file included from ../../../../Source/XnDDK/XnFrameBufferManager.h:28, from ../../../../Source/XnDDK/XnFrameStream.h:28, from ../../../../Source/XnDDK/XnPixelStream.h:27, from ../../../../Source/XnDDK/XnIRStream.h:27, from ../../../../Source/XnDDK/XnIRStream.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnSensor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnImageStream.d x64-Release/XnImageStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnImageStream.o ../../../../Source/XnDDK/XnImageStream.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnSensor.cpp:24: ../../../../Source/XnDeviceSensorV2/XnSensor.h: In constructor 'XnSensor::XnSensor(XnBool, XnBool)': ../../../../Source/XnDeviceSensorV2/XnSensor.h:214:27: warning: 'XnSensor::m_FixedParam' will be initialized after [-Wreorder] 214 | XnGeneralProperty m_FixedParam; | ^~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensor.h:205:29: warning: 'XnActualIntProperty XnSensor::m_CloseStreamsOnShutdown' [-Wreorder] 205 | XnActualIntProperty m_CloseStreamsOnShutdown; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensor.cpp:64:1: warning: when initialized here [-Wreorder] 64 | XnSensor::XnSensor(XnBool bResetOnStartup /* = TRUE */, XnBool bLeanInit /* = FALSE */) : | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensor.cpp:24: ../../../../Source/XnDeviceSensorV2/XnSensor.h:216:32: warning: 'XnSensor::m_ID' will be initialized after [-Wreorder] 216 | XnActualStringProperty m_ID; | ^~~~ ../../../../Source/XnDeviceSensorV2/XnSensor.h:215:27: warning: 'XnGeneralProperty XnSensor::m_InstancePointer' [-Wreorder] 215 | XnGeneralProperty m_InstancePointer; | ^~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensor.cpp:64:1: warning: when initialized here [-Wreorder] 64 | XnSensor::XnSensor(XnBool bResetOnStartup /* = TRUE */, XnBool bLeanInit /* = FALSE */) : | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensor.cpp:24: ../../../../Source/XnDeviceSensorV2/XnSensor.h:234:20: warning: 'XnSensor::m_SensorIO' will be initialized after [-Wreorder] 234 | XnSensorIO m_SensorIO; | ^~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensor.h:232:21: warning: 'XnSensorFPS XnSensor::m_FPS' [-Wreorder] 232 | XnSensorFPS m_FPS; | ^~~~~ ../../../../Source/XnDeviceSensorV2/XnSensor.cpp:64:1: warning: when initialized here [-Wreorder] 64 | XnSensor::XnSensor(XnBool bResetOnStartup /* = TRUE */, XnBool bLeanInit /* = FALSE */) : | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensor.cpp: In member function 'virtual XnStatus XnSensor::Destroy()': ../../../../Source/XnDeviceSensorV2/XnSensor.cpp:287:18: warning: variable 'nRetVal' set but not used [-Wunused-but-set-variable] 287 | XnStatus nRetVal = XN_STATUS_OK; | ^~~~~~~ In file included from ../../../../Source/XnDDK/XnFrameBufferManager.h:28, from ../../../../Source/XnDDK/XnFrameStream.h:28, from ../../../../Source/XnDDK/XnPixelStream.h:27, from ../../../../Source/XnDDK/XnImageStream.h:27, from ../../../../Source/XnDDK/XnImageStream.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnIntProperty.d x64-Release/XnIntProperty.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnIntProperty.o ../../../../Source/XnDDK/XnIntProperty.cpp g++ -MD -MP -MT "./x64-Release/XnIntPropertySynchronizer.d x64-Release/XnIntPropertySynchronizer.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnIntPropertySynchronizer.o ../../../../Source/XnDDK/XnIntPropertySynchronizer.cpp g++ -MD -MP -MT "./x64-Release/XnPixelStream.d x64-Release/XnPixelStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnPixelStream.o ../../../../Source/XnDDK/XnPixelStream.cpp In file included from ../../../../Source/XnDDK/XnFrameBufferManager.h:28, from ../../../../Source/XnDDK/XnFrameStream.h:28, from ../../../../Source/XnDDK/XnPixelStream.h:27, from ../../../../Source/XnDDK/XnPixelStream.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDDK/XnPixelStream.cpp:24: ../../../../Source/XnDDK/XnPixelStream.h: In constructor 'XnPixelStream::XnPixelStream(const XnChar*, const XnChar*, XnBool)': ../../../../Source/XnDDK/XnPixelStream.h:133:16: warning: 'XnPixelStream::m_bAllowCustomResolutions' will be initialized after [-Wreorder] 133 | XnBool m_bAllowCustomResolutions; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDDK/XnPixelStream.h:132:31: warning: 'XnArray XnPixelStream::m_supportedModesData' [-Wreorder] 132 | XnArray m_supportedModesData; | ^~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDDK/XnPixelStream.cpp:33:1: warning: when initialized here [-Wreorder] 33 | XnPixelStream::XnPixelStream(const XnChar* csType, const XnChar* csName, XnBool bAllowCustomResolutions) : | ^~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorAudioGenerator.d x64-Release/XnSensorAudioGenerator.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorAudioGenerator.o ../../../../Source/XnDeviceSensorV2/XnSensorAudioGenerator.cpp g++ -MD -MP -MT "./x64-Release/XnProperty.d x64-Release/XnProperty.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnProperty.o ../../../../Source/XnDDK/XnProperty.cpp In file included from /usr/include/ni/XnModuleCppInterface.h:35, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorAudioGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorAudioGenerator.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorAudioGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorAudioGenerator.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/ni/Linux-x86/XnPlatformLinux-x86.h:34, from /usr/include/ni/XnPlatform.h:65, from ../../../../Include/XnDevice.h:27, from ../../../../Source/XnDDK/XnProperty.h:27, from ../../../../Source/XnDDK/XnProperty.cpp:24: In function 'strncpy', inlined from 'XnProperty::UpdateName(char const*, char const*)' at ../../../../Source/XnDDK/XnProperty.cpp:52:9: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'XnProperty::UpdateName(char const*, char const*)' at ../../../../Source/XnDDK/XnProperty.cpp:53:9: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnPropertySet.d x64-Release/XnPropertySet.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnPropertySet.o ../../../../Source/XnDDK/XnPropertySet.cpp g++ -MD -MP -MT "./x64-Release/XnSensorAudioStream.d x64-Release/XnSensorAudioStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorAudioStream.o ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDeviceSensorInit.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.cpp:25: ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.h: In constructor 'XnSensorAudioStream::XnSensorAudioStream(const XnChar*, const XnChar*, XnSensorObjects*, XnBool)': ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.h:108:23: warning: 'XnSensorAudioStream::m_strDeviceName' will be initialized after [-Wreorder] 108 | const XnChar* m_strDeviceName; | ^~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.h:104:30: warning: 'XnSensorStreamHelper XnSensorAudioStream::m_Helper' [-Wreorder] 104 | XnSensorStreamHelper m_Helper; | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.cpp:42:1: warning: when initialized here [-Wreorder] 42 | XnSensorAudioStream::XnSensorAudioStream(const XnChar* strDeviceName, const XnChar* StreamName, XnSensorObjects* pObjects, XnBool bAllowOtherUsers) : | ^~~~~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.cpp:25: ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.h:112:29: warning: 'XnSensorAudioStream::m_RightChannelVolume' will be initialized after [-Wreorder] 112 | XnActualIntProperty m_RightChannelVolume; | ^~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.h:110:32: warning: 'XnActualStringProperty XnSensorAudioStream::m_SharedBufferName' [-Wreorder] 110 | XnActualStringProperty m_SharedBufferName; | ^~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.cpp:42:1: warning: when initialized here [-Wreorder] 42 | XnSensorAudioStream::XnSensorAudioStream(const XnChar* strDeviceName, const XnChar* StreamName, XnSensorObjects* pObjects, XnBool bAllowOtherUsers) : | ^~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.cpp: In member function 'XnStatus XnSensorAudioStream::ReallocBuffer()': ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.cpp:454:30: warning: unused variable 'pDevicePrivateData' [-Wunused-variable] 454 | XnDevicePrivateData* pDevicePrivateData = m_Helper.GetPrivateData(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/ni/Linux-x86/XnPlatformLinux-x86.h:34, from /usr/include/ni/XnPlatform.h:65, from /usr/include/ni/XnGeneralBuffer.h:27, from ../../../../Include/XnPropertySet.h:27, from ../../../../Source/XnDDK/XnPropertySetInternal.h:24, from ../../../../Source/XnDDK/XnPropertySet.cpp:24: In function 'strncpy', inlined from 'XnPropertySetGetEnumerator' at ../../../../Source/XnDDK/XnPropertySet.cpp:344:10: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.cpp:479:47: warning: '%s' directive writing up to 199 bytes into a region of size 197 [-Wformat-overflow=] 479 | sprintf(strSharedName, "%u_%s_%s", (XnUInt32)procID, m_strDeviceName, GetName()); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/ni/Linux-x86/XnPlatformLinux-x86.h:33, from /usr/include/ni/XnPlatform.h:65, from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:27, from ../../../../Source/XnDeviceSensorV2/XnDeviceSensorInit.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorAudioStream.cpp:24: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output 4 or more bytes (assuming 203) into a destination of size 200 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorClient.d x64-Release/XnSensorClient.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorClient.o ../../../../Source/XnDeviceSensorV2/XnSensorClient.cpp In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDDK/XnStreamDevice.h:28, from ../../../../Source/XnDDK/XnStreamReaderDevice.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorClient.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorClient.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnRealProperty.d x64-Release/XnRealProperty.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnRealProperty.o ../../../../Source/XnDDK/XnRealProperty.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnSensorClient.cpp:24: ../../../../Source/XnDeviceSensorV2/XnSensorClient.h: In constructor 'XnSensorClient::XnSensorClient()': ../../../../Source/XnDeviceSensorV2/XnSensorClient.h:94:23: warning: 'XnSensorClient::m_pOutgoingPacker' will be initialized after [-Wreorder] 94 | XnDataPacker* m_pOutgoingPacker; | ^~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorClient.h:93:25: warning: 'volatile XnBool XnSensorClient::m_bShouldRun' [-Wreorder] 93 | volatile XnBool m_bShouldRun; | ^~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorClient.cpp:45:1: warning: when initialized here [-Wreorder] 45 | XnSensorClient::XnSensorClient() : | ^~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorClient.cpp: In static member function 'static void* XnSensorClient::ListenThread(XN_THREAD_PARAM)': ../../../../Source/XnDeviceSensorV2/XnSensorClient.cpp:849:18: warning: unused variable 'nRetVal' [-Wunused-variable] 849 | XnStatus nRetVal = pThis->Listen(); | ^~~~~~~ g++ -MD -MP -MT "./x64-Release/XnShiftToDepth.d x64-Release/XnShiftToDepth.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnShiftToDepth.o ../../../../Source/XnDDK/XnShiftToDepth.cpp In file included from /usr/include/string.h:519, from /usr/include/ni/Linux-x86/XnPlatformLinux-x86.h:34, from /usr/include/ni/XnPlatform.h:65, from ../../../../Include/XnDevice.h:27, from ../../../../Source/XnDDK/IXnDevice.h:27, from ../../../../Source/XnDDK/XnDeviceBase.h:27, from ../../../../Source/XnDDK/XnStreamDevice.h:27, from ../../../../Source/XnDDK/XnStreamReaderDevice.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorClient.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorClient.cpp:24: In function 'strncpy', inlined from 'XnSensorClient::LoadConfigFromFile(char const*, char const*)' at ../../../../Source/XnDeviceSensorV2/XnSensorClient.cpp:666:9: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'XnSensorClient::LoadConfigFromFile(char const*, char const*)' at ../../../../Source/XnDeviceSensorV2/XnSensorClient.cpp:667:9: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorClient.cpp: In member function 'XnSensorClient::StartServerProcess()': ../../../../Source/XnDeviceSensorV2/XnSensorClient.cpp:893:38: warning: 'XnSensorServer' directive writing 14 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 893 | sprintf(strProcessName, "%s%sXnSensorServer", strServerDir, XN_FILE_DIR_SEP); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/ni/Linux-x86/XnPlatformLinux-x86.h:33, from /usr/include/ni/XnPlatform.h:65, from ../../../../Include/XnDevice.h:27, from ../../../../Source/XnDDK/IXnDevice.h:27, from ../../../../Source/XnDDK/XnDeviceBase.h:27, from ../../../../Source/XnDDK/XnStreamDevice.h:27, from ../../../../Source/XnDDK/XnStreamReaderDevice.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorClient.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorClient.cpp:24: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output between 16 and 271 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnShiftToDepthStreamHelper.d x64-Release/XnShiftToDepthStreamHelper.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnShiftToDepthStreamHelper.o ../../../../Source/XnDDK/XnShiftToDepthStreamHelper.cpp g++ -MD -MP -MT "./x64-Release/XnSensorClientStream.d x64-Release/XnSensorClientStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorClientStream.o ../../../../Source/XnDeviceSensorV2/XnSensorClientStream.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensorClientStream.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorClientStream.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorClientStream.cpp:24: ../../../../Source/XnDeviceSensorV2/XnSensorClientStream.h: In constructor 'XnSensorClientAudioStream::XnSensorClientAudioStream(XnSensorClient*, const XnChar*, const XnChar*)': ../../../../Source/XnDeviceSensorV2/XnSensorClientStream.h:112:36: warning: 'XnSensorClientAudioStream::m_hLock' will be initialized after [-Wreorder] 112 | XN_CRITICAL_SECTION_HANDLE m_hLock; | ^~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorClientStream.h:107:18: warning: 'XnUInt32 XnSensorClientAudioStream::m_nFrameID' [-Wreorder] 107 | XnUInt32 m_nFrameID; | ^~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorClientStream.cpp:217:1: warning: when initialized here [-Wreorder] 217 | XnSensorClientAudioStream::XnSensorClientAudioStream(XnSensorClient* pClient, const XnChar* strType, const XnChar* strName) : | ^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSimpleBufferPool.d x64-Release/XnSimpleBufferPool.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSimpleBufferPool.o ../../../../Source/XnDDK/XnSimpleBufferPool.cpp In file included from ../../../../Source/XnDDK/XnBufferPool.h:27, from ../../../../Source/XnDDK/XnSimpleBufferPool.h:27, from ../../../../Source/XnDDK/XnSimpleBufferPool.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnStreamData.d x64-Release/XnStreamData.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnStreamData.o ../../../../Source/XnDDK/XnStreamData.cpp g++ -MD -MP -MT "./x64-Release/XnSensorDepthGenerator.d x64-Release/XnSensorDepthGenerator.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorDepthGenerator.o ../../../../Source/XnDeviceSensorV2/XnSensorDepthGenerator.cpp g++ -MD -MP -MT "./x64-Release/XnStreamDataSet.d x64-Release/XnStreamDataSet.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnStreamDataSet.o ../../../../Source/XnDDK/XnStreamDataSet.cpp In file included from /usr/include/ni/XnModuleCppInterface.h:35, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorDepthGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorDepthGenerator.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorDepthGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorDepthGenerator.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorDepthGenerator.cpp: In member function 'virtual XnStatus XnSensorDepthGenerator::Init()': ../../../../Source/XnDeviceSensorV2/XnSensorDepthGenerator.cpp:63:9: warning: statement has no effect [-Wunused-value] 63 | m_hRWPropCallback; | ^~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnStreamDevice.d x64-Release/XnStreamDevice.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnStreamDevice.o ../../../../Source/XnDDK/XnStreamDevice.cpp In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDDK/XnStreamDevice.h:28, from ../../../../Source/XnDDK/XnStreamDevice.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnStreamDeviceStreamHolder.d x64-Release/XnStreamDeviceStreamHolder.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnStreamDeviceStreamHolder.o ../../../../Source/XnDDK/XnStreamDeviceStreamHolder.cpp g++ -MD -MP -MT "./x64-Release/XnSensorDepthStream.d x64-Release/XnSensorDepthStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorDepthStream.o ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.cpp g++ -MD -MP -MT "./x64-Release/XnStreamReaderDevice.d x64-Release/XnStreamReaderDevice.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnStreamReaderDevice.o ../../../../Source/XnDDK/XnStreamReaderDevice.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDeviceSensorInit.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.cpp:25: ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.h: In constructor 'XnSensorDepthStream::XnSensorDepthStream(const XnChar*, XnSensorObjects*)': ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.h:172:29: warning: 'XnSensorDepthStream::m_CloseRange' will be initialized after [-Wreorder] 172 | XnActualIntProperty m_CloseRange; | ^~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.h:158:29: warning: 'XnActualIntProperty XnSensorDepthStream::m_CroppingMode' [-Wreorder] 158 | XnActualIntProperty m_CroppingMode; | ^~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.cpp:51:1: warning: when initialized here [-Wreorder] 51 | XnSensorDepthStream::XnSensorDepthStream(const XnChar* strName, XnSensorObjects* pObjects) : | ^~~~~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.cpp:25: ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.h:175:25: warning: 'XnSensorDepthStream::m_pLastFrameShiftsMap' will be initialized after [-Wreorder] 175 | const XnUInt16* m_pLastFrameShiftsMap; | ^~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.h:161:29: warning: 'XnActualIntProperty XnSensorDepthStream::m_FirmwareMirror' [-Wreorder] 161 | XnActualIntProperty m_FirmwareMirror; | ^~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.cpp:51:1: warning: when initialized here [-Wreorder] 51 | XnSensorDepthStream::XnSensorDepthStream(const XnChar* strName, XnSensorObjects* pObjects) : | ^~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.cpp: In member function 'virtual XnStatus XnSensorDepthStream::SetCroppingMode(XnCroppingMode)': ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.cpp:623:18: warning: unused variable 'nRetVal' [-Wunused-variable] 623 | XnStatus nRetVal = XN_STATUS_OK; | ^~~~~~~ In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDDK/XnStreamDevice.h:28, from ../../../../Source/XnDDK/XnStreamReaderDevice.h:27, from ../../../../Source/XnDDK/XnStreamReaderDevice.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.cpp: In static member function 'static XnStatus XnSensorDepthStream::GetShiftsMapCallback(const XnGeneralProperty*, const XnGeneralBuffer&, void*)': ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.cpp:1180:18: warning: unused variable 'nRetVal' [-Wunused-variable] 1180 | XnStatus nRetVal = XN_STATUS_OK; | ^~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.cpp: In static member function 'static XnStatus XnSensorDepthStream::GetPixelRegistrationCallback(const XnGeneralProperty*, const XnGeneralBuffer&, void*)': ../../../../Source/XnDeviceSensorV2/XnSensorDepthStream.cpp:1197:18: warning: unused variable 'nRetVal' [-Wunused-variable] 1197 | XnStatus nRetVal = XN_STATUS_OK; | ^~~~~~~ g++ -MD -MP -MT "./x64-Release/XnStreamReaderStream.d x64-Release/XnStreamReaderStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnStreamReaderStream.o ../../../../Source/XnDDK/XnStreamReaderStream.cpp g++ -MD -MP -MT "./x64-Release/XnStreamReaderStreamHolder.d x64-Release/XnStreamReaderStreamHolder.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnStreamReaderStreamHolder.o ../../../../Source/XnDDK/XnStreamReaderStreamHolder.cpp g++ -MD -MP -MT "./x64-Release/XnSensorDevice.d x64-Release/XnSensorDevice.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorDevice.o ../../../../Source/XnDeviceSensorV2/XnSensorDevice.cpp g++ -MD -MP -MT "./x64-Release/XnStreamWriterDevice.d x64-Release/XnStreamWriterDevice.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnStreamWriterDevice.o ../../../../Source/XnDDK/XnStreamWriterDevice.cpp In file included from /usr/include/ni/XnModuleCppInterface.h:35, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorDevice.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorDevice.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDDK/XnStreamDevice.h:28, from ../../../../Source/XnDDK/XnStreamWriterDevice.h:27, from ../../../../Source/XnDDK/XnStreamWriterDevice.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorDevice.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorDevice.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnStreamWriterStream.d x64-Release/XnStreamWriterStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnStreamWriterStream.o ../../../../Source/XnDDK/XnStreamWriterStream.cpp In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDDK/XnStreamWriterStream.h:28, from ../../../../Source/XnDDK/XnStreamWriterStream.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDDK/XnStreamWriterStream.cpp:24: ../../../../Source/XnDDK/XnStreamWriterStream.h: In constructor 'XnStreamWriterStream::XnStreamWriterStream(const XnChar*, const XnChar*, XnDataPacker*)': ../../../../Source/XnDDK/XnStreamWriterStream.h:51:23: warning: 'XnStreamWriterStream::m_pDataPacker' will be initialized after [-Wreorder] 51 | XnDataPacker* m_pDataPacker; | ^~~~~~~~~~~~~ ../../../../Source/XnDDK/XnStreamWriterStream.h:50:18: warning: 'XnUInt32 XnStreamWriterStream::m_nFrameID' [-Wreorder] 50 | XnUInt32 m_nFrameID; | ^~~~~~~~~~ ../../../../Source/XnDDK/XnStreamWriterStream.cpp:29:1: warning: when initialized here [-Wreorder] 29 | XnStreamWriterStream::XnStreamWriterStream(const XnChar* strType, const XnChar* strName, XnDataPacker* pDataPacker) : | ^~~~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorFPS.d x64-Release/XnSensorFPS.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorFPS.o ../../../../Source/XnDeviceSensorV2/XnSensorFPS.cpp g++ -MD -MP -MT "./x64-Release/XnStreamingStream.d x64-Release/XnStreamingStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnStreamingStream.o ../../../../Source/XnDDK/XnStreamingStream.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensorFPS.cpp:25: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorFirmware.d x64-Release/XnSensorFirmware.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorFirmware.o ../../../../Source/XnDeviceSensorV2/XnSensorFirmware.cpp g++ -MD -MP -MT "./x64-Release/XnStringProperty.d x64-Release/XnStringProperty.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DDK_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnStringProperty.o ../../../../Source/XnDDK/XnStringProperty.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnFirmwareCommands.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorFirmware.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorFirmware.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -o ../../Bin/x64-Release/libXnDDK.so ./x64-Release/XnActualGeneralProperty.o ./x64-Release/XnActualIntProperty.o ./x64-Release/XnActualPropertiesHash.o ./x64-Release/XnActualPropertyFactory.o ./x64-Release/XnActualRealProperty.o ./x64-Release/XnActualStringProperty.o ./x64-Release/XnAudioStream.o ./x64-Release/XnBackwardsCompatibility36.o ./x64-Release/XnBufferPool.o ./x64-Release/XnCodecFactory.o ./x64-Release/XnDDK.o ./x64-Release/XnDDKStatus.o ./x64-Release/XnDataPacker.o ./x64-Release/XnDepthStream.o ./x64-Release/XnDeviceBase.o ./x64-Release/XnDeviceBaseProxy.o ./x64-Release/XnDeviceManager.o ./x64-Release/XnDeviceModule.o ./x64-Release/XnDeviceModuleHolder.o ./x64-Release/XnDeviceProxy.o ./x64-Release/XnDeviceStream.o ./x64-Release/XnExternalBufferPool.o ./x64-Release/XnFrameBufferManager.o ./x64-Release/XnFrameStream.o ./x64-Release/XnGeneralProperty.o ./x64-Release/XnIRStream.o ./x64-Release/XnImageStream.o ./x64-Release/XnIntProperty.o ./x64-Release/XnIntPropertySynchronizer.o ./x64-Release/XnPixelStream.o ./x64-Release/XnProperty.o ./x64-Release/XnPropertySet.o ./x64-Release/XnRealProperty.o ./x64-Release/XnShiftToDepth.o ./x64-Release/XnShiftToDepthStreamHelper.o ./x64-Release/XnSimpleBufferPool.o ./x64-Release/XnStreamData.o ./x64-Release/XnStreamDataSet.o ./x64-Release/XnStreamDevice.o ./x64-Release/XnStreamDeviceStreamHolder.o ./x64-Release/XnStreamReaderDevice.o ./x64-Release/XnStreamReaderStream.o ./x64-Release/XnStreamReaderStreamHolder.o ./x64-Release/XnStreamWriterDevice.o ./x64-Release/XnStreamWriterStream.o ./x64-Release/XnStreamingStream.o ./x64-Release/XnStringProperty.o -L../../Bin/x64-Release -lXnCore -lXnFormats -lOpenNI -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,--no-undefined -shared g++ -MD -MP -MT "./x64-Release/XnSensorFirmwareParams.d x64-Release/XnSensorFirmwareParams.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorFirmwareParams.o ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnFirmwareCommands.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.h:31, from ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.cpp:24: ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.h: In constructor 'XnSensorFirmwareParams::XnSensorFirmwareParams(XnFirmwareInfo*, XnFirmwareCommands*)': ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.h:147:30: warning: 'XnSensorFirmwareParams::m_AllFirmwareParams' will be initialized after [-Wreorder] 147 | XnFirmwareParamsHash m_AllFirmwareParams; | ^~~~~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.cpp:24: ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.h:58:29: warning: 'XnActualIntProperty XnSensorFirmwareParams::m_FrameSyncEnabled' [-Wreorder] 58 | XnActualIntProperty m_FrameSyncEnabled; | ^~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.cpp:29:1: warning: when initialized here [-Wreorder] 29 | XnSensorFirmwareParams::XnSensorFirmwareParams(XnFirmwareInfo* pInfo, XnFirmwareCommands* pCommands) : | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.cpp:24: ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.h:100:29: warning: 'XnSensorFirmwareParams::m_DepthWhiteBalance' will be initialized after [-Wreorder] 100 | XnActualIntProperty m_DepthWhiteBalance; | ^~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.h:97:29: warning: 'XnActualIntProperty XnSensorFirmwareParams::m_ImageMirror' [-Wreorder] 97 | XnActualIntProperty m_ImageMirror; | ^~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.cpp:29:1: warning: when initialized here [-Wreorder] 29 | XnSensorFirmwareParams::XnSensorFirmwareParams(XnFirmwareInfo* pInfo, XnFirmwareCommands* pCommands) : | ^~~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.cpp: In member function 'XnStatus XnSensorFirmwareParams::RecalculateReferenceResolution()': ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.cpp:603:18: warning: comparison of integer expressions of different signedness: 'XnResolutions' and 'XnUInt64' {aka 'long long unsigned int'} [-Wsign-compare] 603 | if (nRes != m_ReferenceResolution.GetValue()) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.cpp: In member function 'XnSensorFirmwareParams::AddFirmwareParam(XnActualIntProperty&, unsigned short, XnFWVer, XnFWVer, unsigned short)': ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.cpp:251:31: warning: ' (' directive writing 2 bytes into a region of size between 1 and 200 [-Wformat-overflow=] 251 | sprintf(csNewName, "%s (%d)", Property.GetName(), nFirmwareParam); | ^~ ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.cpp:251:28: note: directive argument in the range [0, 65535] 251 | sprintf(csNewName, "%s (%d)", Property.GetName(), nFirmwareParam); | ^~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/ni/Linux-x86/XnPlatformLinux-x86.h:33, from /usr/include/ni/XnPlatform.h:65, from ../../../../Include/XnDevice.h:27, from ../../../../Source/XnDDK/XnProperty.h:27, from ../../../../Source/XnDDK/XnIntProperty.h:27, from ../../../../Source/XnDDK/XnActualIntProperty.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.cpp:24: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output between 5 and 208 bytes into a destination of size 200 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorFixedParams.d x64-Release/XnSensorFixedParams.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorFixedParams.o ../../../../Source/XnDeviceSensorV2/XnSensorFixedParams.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensorFixedParams.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorFixedParams.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorGenerator.d x64-Release/XnSensorGenerator.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorGenerator.o ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.cpp In file included from /usr/include/ni/XnModuleCppInterface.h:35, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorIRGenerator.d x64-Release/XnSensorIRGenerator.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorIRGenerator.o ../../../../Source/XnDeviceSensorV2/XnSensorIRGenerator.cpp In file included from /usr/include/ni/XnModuleCppInterface.h:35, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorIRGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorIRGenerator.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorIRGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorIRGenerator.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorIRStream.d x64-Release/XnSensorIRStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorIRStream.o ../../../../Source/XnDeviceSensorV2/XnSensorIRStream.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDeviceSensorInit.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorIRStream.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorIRStream.cpp:25: ../../../../Source/XnDeviceSensorV2/XnSensorIRStream.h: In constructor 'XnSensorIRStream::XnSensorIRStream(const XnChar*, XnSensorObjects*)': ../../../../Source/XnDeviceSensorV2/XnSensorIRStream.h:99:30: warning: 'XnSensorIRStream::m_Helper' will be initialized after [-Wreorder] 99 | XnSensorStreamHelper m_Helper; | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorIRStream.h:96:29: warning: 'XnActualIntProperty XnSensorIRStream::m_InputFormat' [-Wreorder] 96 | XnActualIntProperty m_InputFormat; | ^~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorIRStream.cpp:38:1: warning: when initialized here [-Wreorder] 38 | XnSensorIRStream::XnSensorIRStream(const XnChar* StreamName, XnSensorObjects* pObjects) : | ^~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorIRStream.cpp: In member function 'XnStatus XnSensorIRStream::SetCroppingMode(XnCroppingMode)': ../../../../Source/XnDeviceSensorV2/XnSensorIRStream.cpp:377:18: warning: unused variable 'nRetVal' [-Wunused-variable] 377 | XnStatus nRetVal = XN_STATUS_OK; | ^~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorImageGenerator.d x64-Release/XnSensorImageGenerator.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorImageGenerator.o ../../../../Source/XnDeviceSensorV2/XnSensorImageGenerator.cpp In file included from /usr/include/ni/XnModuleCppInterface.h:35, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorImageGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorImageGenerator.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorImageGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorImageGenerator.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorImageStream.d x64-Release/XnSensorImageStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorImageStream.o ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDeviceSensorInit.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp:25: ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.h: In constructor 'XnSensorImageStream::XnSensorImageStream(const XnChar*, XnSensorObjects*)': ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.h:152:29: warning: 'XnSensorImageStream::m_Zoom' will be initialized after [-Wreorder] 152 | XnActualIntProperty m_Zoom; | ^~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.h:150:29: warning: 'XnActualIntProperty XnSensorImageStream::m_Exposure' [-Wreorder] 150 | XnActualIntProperty m_Exposure; | ^~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp:41:1: warning: when initialized here [-Wreorder] 41 | XnSensorImageStream::XnSensorImageStream(const XnChar* StreamName, XnSensorObjects* pObjects) : | ^~~~~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp:25: ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.h:155:29: warning: 'XnSensorImageStream::m_LowLightCompensation' will be initialized after [-Wreorder] 155 | XnActualIntProperty m_LowLightCompensation; | ^~~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.h:141:29: warning: 'XnActualIntProperty XnSensorImageStream::m_CroppingMode' [-Wreorder] 141 | XnActualIntProperty m_CroppingMode; | ^~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp:41:1: warning: when initialized here [-Wreorder] 41 | XnSensorImageStream::XnSensorImageStream(const XnChar* StreamName, XnSensorObjects* pObjects) : | ^~~~~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp:25: ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.h:167:29: warning: 'XnSensorImageStream::m_FirmwareAutoWhiteBalance' will be initialized after [-Wreorder] 167 | XnActualIntProperty m_FirmwareAutoWhiteBalance; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.h:164:29: warning: 'XnActualIntProperty XnSensorImageStream::m_FirmwareExposure' [-Wreorder] 164 | XnActualIntProperty m_FirmwareExposure; | ^~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp:41:1: warning: when initialized here [-Wreorder] 41 | XnSensorImageStream::XnSensorImageStream(const XnChar* StreamName, XnSensorObjects* pObjects) : | ^~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp: In member function 'virtual XnStatus XnSensorImageStream::Init()': ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp:166:26: warning: unused variable 'nDefaultInputFormat' [-Wunused-variable] 166 | XnUInt64 nDefaultInputFormat; | ^~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp: In member function 'virtual XnStatus XnSensorImageStream::SetCroppingMode(XnCroppingMode)': ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp:668:18: warning: unused variable 'nRetVal' [-Wunused-variable] 668 | XnStatus nRetVal = XN_STATUS_OK; | ^~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp: In member function 'XnStatus XnSensorImageStream::SetExposure(XnInt32)': ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp:766:16: warning: unused variable 'bIsAuto' [-Wunused-variable] 766 | XnBool bIsAuto = (nValue == XN_AUTO_CONTROL); | ^~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp: At global scope: ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp:76:17: warning: 'XnStatus AddSupportedMode(XnArray&, XnUInt16, XnUInt16, XnUInt16)' defined but not used [-Wunused-function] 76 | static XnStatus AddSupportedMode(XnArray& modes, XnUInt16 nInputFormat, XnUInt16 nResolution, XnUInt16 nFPS) | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Build/XnDDK' make -C XnDeviceFile CFG=Release make[1]: Entering directory '/builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Build' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. mkdir -p x64-Release g++ -MD -MP -MT "./x64-Release/XnDeviceFile.d x64-Release/XnDeviceFile.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceFile.o ../../../../Source/XnDeviceFile/XnDeviceFile.cpp In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDDK/XnStreamDevice.h:28, from ../../../../Source/XnDDK/XnStreamReaderDevice.h:27, from ../../../../Source/XnDeviceFile/XnDeviceFileReader.h:28, from ../../../../Source/XnDeviceFile/XnDeviceFile.cpp:27: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnDeviceFileReader.d x64-Release/XnDeviceFileReader.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceFileReader.o ../../../../Source/XnDeviceFile/XnDeviceFileReader.cpp g++ -MD -MP -MT "./x64-Release/XnSensorMapGenerator.d x64-Release/XnSensorMapGenerator.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorMapGenerator.o ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.cpp In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDDK/XnStreamDevice.h:28, from ../../../../Source/XnDDK/XnStreamReaderDevice.h:27, from ../../../../Source/XnDeviceFile/XnDeviceFileReader.h:28, from ../../../../Source/XnDeviceFile/XnDeviceFileReader.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceFile/XnDeviceFileReader.cpp:24: ../../../../Source/XnDeviceFile/XnDeviceFileReader.h: In constructor 'XnDeviceFileReader::XnDeviceFileReader()': ../../../../Source/XnDeviceFile/XnDeviceFileReader.h:98:23: warning: 'XnDeviceFileReader::m_pBCData' will be initialized after [-Wreorder] 98 | XnFileBCData* m_pBCData; | ^~~~~~~~~ ../../../../Source/XnDeviceFile/XnDeviceFileReader.h:93:18: warning: 'XnUInt32 XnDeviceFileReader::m_nFileVersion' [-Wreorder] 93 | XnUInt32 m_nFileVersion; | ^~~~~~~~~~~~~~ ../../../../Source/XnDeviceFile/XnDeviceFileReader.cpp:45:1: warning: when initialized here [-Wreorder] 45 | XnDeviceFileReader::XnDeviceFileReader() : | ^~~~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceFile/XnDeviceFileReader.cpp:24: ../../../../Source/XnDeviceFile/XnDeviceFileReader.h:95:18: warning: 'XnDeviceFileReader::m_nReferenceTimestamp' will be initialized after [-Wreorder] 95 | XnUInt64 m_nReferenceTimestamp; | ^~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceFile/XnDeviceFileReader.h:91:16: warning: 'XnBool XnDeviceFileReader::m_bFileHasData' [-Wreorder] 91 | XnBool m_bFileHasData; | ^~~~~~~~~~~~~~ ../../../../Source/XnDeviceFile/XnDeviceFileReader.cpp:45:1: warning: when initialized here [-Wreorder] 45 | XnDeviceFileReader::XnDeviceFileReader() : | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/ni/XnModuleCppInterface.h:35, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.cpp:24: ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.h: In constructor 'XnSensorMapGenerator::XnSensorMapGenerator(xn::Context&, xn::Device&, XnDeviceBase*, const XnChar*)': ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.h:73:18: warning: 'XnSensorMapGenerator::m_nSupportedModesCount' will be initialized after [-Wreorder] 73 | XnUInt32 m_nSupportedModesCount; | ^~~~~~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.h:72:24: warning: 'XnSensorMapGenerator::SupportedMode* XnSensorMapGenerator::m_aSupportedModes' [-Wreorder] 72 | SupportedMode* m_aSupportedModes; | ^~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorMapGenerator.cpp:29:1: warning: when initialized here [-Wreorder] 29 | XnSensorMapGenerator::XnSensorMapGenerator(xn::Context& context, xn::Device& sensor, XnDeviceBase* pSensor, const XnChar* strStreamName) : | ^~~~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorOpenNiteImpl.d x64-Release/XnSensorOpenNiteImpl.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorOpenNiteImpl.o ../../../../Source/XnDeviceSensorV2/XnSensorOpenNiteImpl.cpp In file included from /usr/include/ni/XnModuleCppInterface.h:35, from /usr/include/ni/XnModuleCppRegistratration.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorOpenNiteImpl.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnExportedSensorDevice.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorOpenNiteImpl.cpp:25: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnDeviceFileReaderBC.d x64-Release/XnDeviceFileReaderBC.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceFileReaderBC.o ../../../../Source/XnDeviceFile/XnDeviceFileReaderBC.cpp In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDDK/XnStreamDevice.h:28, from ../../../../Source/XnDDK/XnStreamReaderDevice.h:27, from ../../../../Source/XnDeviceFile/XnDeviceFileReader.h:28, from ../../../../Source/XnDeviceFile/XnDeviceFileReaderBC.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnDeviceFileWriter.d x64-Release/XnDeviceFileWriter.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnDeviceFileWriter.o ../../../../Source/XnDeviceFile/XnDeviceFileWriter.cpp In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDDK/XnStreamDevice.h:28, from ../../../../Source/XnDDK/XnStreamWriterDevice.h:27, from ../../../../Source/XnDeviceFile/XnDeviceFileWriter.h:27, from ../../../../Source/XnDeviceFile/XnDeviceFileWriter.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnExportedFileDevice.d x64-Release/XnExportedFileDevice.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnExportedFileDevice.o ../../../../Source/XnDeviceFile/XnExportedFileDevice.cpp In file included from /usr/include/ni/XnModuleCppInterface.h:35, from ../../../../Source/XnDeviceFile/XnExportedFileDevice.h:27, from ../../../../Source/XnDeviceFile/XnExportedFileDevice.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDDK/XnStreamDevice.h:28, from ../../../../Source/XnDDK/XnStreamReaderDevice.h:27, from ../../../../Source/XnDeviceFile/XnDeviceFileReader.h:28, from ../../../../Source/XnDeviceFile/XnExportedFileDevice.h:28, from ../../../../Source/XnDeviceFile/XnExportedFileDevice.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnFileDevice.d x64-Release/XnFileDevice.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnFileDevice.o ../../../../Source/XnDeviceFile/XnFileDevice.cpp In file included from /usr/include/ni/XnModuleCppInterface.h:35, from ../../../../Source/XnDeviceFile/XnFileDevice.h:27, from ../../../../Source/XnDeviceFile/XnFileDevice.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorProductionNode.d x64-Release/XnSensorProductionNode.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorProductionNode.o ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.cpp In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDeviceFile/XnFileDevice.h:28, from ../../../../Source/XnDeviceFile/XnFileDevice.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from /usr/include/ni/XnModuleCppInterface.h:35, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceFile/XnFileDevice.cpp:24: ../../../../Source/XnDeviceFile/XnFileDevice.h: In constructor 'XnFileDevice::XnFileDevice(xn::Context&, const XnChar*)': ../../../../Source/XnDeviceFile/XnFileDevice.h:146:23: warning: 'XnFileDevice::m_pBCData' will be initialized after [-Wreorder] 146 | XnFileBCData* m_pBCData; | ^~~~~~~~~ ../../../../Source/XnDeviceFile/XnFileDevice.h:130:16: warning: 'XnBool XnFileDevice::m_bRepeat' [-Wreorder] 130 | XnBool m_bRepeat; | ^~~~~~~~~ ../../../../Source/XnDeviceFile/XnFileDevice.cpp:52:1: warning: when initialized here [-Wreorder] 52 | XnFileDevice::XnFileDevice(xn::Context& context, const XnChar* strInstanceName) : | ^~~~~~~~~~~~ ../../../../Source/XnDeviceFile/XnFileDevice.cpp: In member function 'XnStatus XnFileDevice::SetInitialState(XnPropertySet*)': ../../../../Source/XnDeviceFile/XnFileDevice.cpp:204:110: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 204 | if (XN_STATUS_OK == pDeviceModule->Get(XN_MODULE_PROPERTY_HIGH_RES_TIMESTAMPS, (XnProperty*&)pIntProp)) | ^~~~~~~~ ../../../../Source/XnDeviceFile/XnFileDevice.cpp: In member function 'XnStatus XnFileDevice::HandleNewStream(const XnChar*, const XnChar*, const XnActualPropertiesHash*)': ../../../../Source/XnDeviceFile/XnFileDevice.cpp:689:85: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 689 | nRetVal = pInitialValues->Get(XN_STREAM_PROPERTY_COMPRESSION, (XnProperty*&)pComp); | ^~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.cpp: In member function 'virtual XnStatus XnSensorProductionNode::NotifyExState(XnNodeNotifications*, void*)': ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.cpp:147:23: warning: variable 'astrIntProps' set but not used [-Wunused-but-set-variable] 147 | const XnChar* astrIntProps[200] = {0}; | ^~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.cpp:148:23: warning: variable 'astrRealProps' set but not used [-Wunused-but-set-variable] 148 | const XnChar* astrRealProps[200] = {0}; | ^~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.cpp:149:23: warning: variable 'astrStringProps' set but not used [-Wunused-but-set-variable] 149 | const XnChar* astrStringProps[200] = {0}; | ^~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorProductionNode.cpp:150:23: warning: variable 'astrGeneralProps' set but not used [-Wunused-but-set-variable] 150 | const XnChar* astrGeneralProps[200] = {0}; | ^~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorServer.d x64-Release/XnSensorServer.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorServer.o ../../../../Source/XnDeviceSensorV2/XnSensorServer.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnSensorServer.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorServer.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorStreamHelper.d x64-Release/XnSensorStreamHelper.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorStreamHelper.o ../../../../Source/XnDeviceSensorV2/XnSensorStreamHelper.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnFirmwareCommands.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorFirmware.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorStreamHelper.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorStreamHelper.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from /usr/include/ni/XnStringsHashT.h:27, from ../../../../Source/XnDDK/XnProperty.h:29, from ../../../../Source/XnDDK/XnIntProperty.h:27, from ../../../../Source/XnDDK/XnActualIntProperty.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorFirmware.h:29, from ../../../../Source/XnDeviceSensorV2/XnSensorStreamHelper.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorStreamHelper.cpp:24: ../../../../Source/XnDeviceSensorV2/XnSensorStreamHelper.cpp: In member function 'XnSensorStreamHelper::MapFirmwareProperty(XnActualIntProperty&, XnActualIntProperty&, unsigned int, unsigned int (*)(unsigned long long, unsigned long long*))': /usr/include/ni/XnHashT.h:46:71: warning: 'cookie.CurrentTransaction.bShouldOpen' may be used uninitialized [-Wmaybe-uninitialized] 46 | XnKeyValuePair(const XnKeyValuePair& other) : key(other.key), value(other.value) {} | ^~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorStreamHelper.cpp:179:36: note: 'cookie.CurrentTransaction.bShouldOpen' was declared here 179 | XnSensorStreamHelperCookie cookie(&Property, &FirmwareProperty, bAllowChangeWhileOpen, pStreamToFirmwareFunc); | ^~~~~~ In file included from /usr/include/ni/XnStringsHashT.h:27, from ../../../../Source/XnDDK/XnProperty.h:29, from ../../../../Source/XnDDK/XnIntProperty.h:27, from ../../../../Source/XnDDK/XnActualIntProperty.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorFirmwareParams.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorFirmware.h:29, from ../../../../Source/XnDeviceSensorV2/XnSensorStreamHelper.h:28, from ../../../../Source/XnDeviceSensorV2/XnSensorStreamHelper.cpp:24: /usr/include/ni/XnHashT.h:46:71: warning: 'cookie.CurrentTransaction.bChooseProcessor' may be used uninitialized [-Wmaybe-uninitialized] 46 | XnKeyValuePair(const XnKeyValuePair& other) : key(other.key), value(other.value) {} | ^~~~~~~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorStreamHelper.cpp:179:36: note: 'cookie.CurrentTransaction.bChooseProcessor' was declared here 179 | XnSensorStreamHelperCookie cookie(&Property, &FirmwareProperty, bAllowChangeWhileOpen, pStreamToFirmwareFunc); | ^~~~~~ g++ -MD -MP -MT "./x64-Release/XnSensorsManager.d x64-Release/XnSensorsManager.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnSensorsManager.o ../../../../Source/XnDeviceSensorV2/XnSensorsManager.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnServerSensorInvoker.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorsManager.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorsManager.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorsManager.cpp:24: ../../../../Source/XnDeviceSensorV2/XnSensorsManager.h: In constructor 'XnSensorsManager::XnSensorsManager(const XnChar*)': ../../../../Source/XnDeviceSensorV2/XnSensorsManager.h:68:23: warning: 'XnSensorsManager::m_startNewLog' will be initialized after [-Wreorder] 68 | XnIntProperty m_startNewLog; | ^~~~~~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorsManager.h:67:26: warning: 'XnStringProperty XnSensorsManager::m_logFile' [-Wreorder] 67 | XnStringProperty m_logFile; | ^~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorsManager.cpp:35:1: warning: when initialized here [-Wreorder] 35 | XnSensorsManager::XnSensorsManager(const XnChar* strGlobalConfigFile) : | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDeviceSensorV2/XnSensorsManager.cpp:24: ../../../../Source/XnDeviceSensorV2/XnSensorsManager.h:67:26: warning: 'XnSensorsManager::m_logFile' will be initialized after [-Wreorder] 67 | XnStringProperty m_logFile; | ^~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorsManager.h:64:36: warning: 'XnMutex* XnSensorsManager::m_hLock' [-Wreorder] 64 | XN_CRITICAL_SECTION_HANDLE m_hLock; | ^~~~~~~ ../../../../Source/XnDeviceSensorV2/XnSensorsManager.cpp:35:1: warning: when initialized here [-Wreorder] 35 | XnSensorsManager::XnSensorsManager(const XnChar* strGlobalConfigFile) : | ^~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnServerSensorInvoker.d x64-Release/XnServerSensorInvoker.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnServerSensorInvoker.o ../../../../Source/XnDeviceSensorV2/XnServerSensorInvoker.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnServerSensorInvoker.h:27, from ../../../../Source/XnDeviceSensorV2/XnServerSensorInvoker.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnFileDeviceBC.d x64-Release/XnFileDeviceBC.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnFileDeviceBC.o ../../../../Source/XnDeviceFile/XnFileDeviceBC.cpp In file included from /usr/include/ni/XnModuleCppInterface.h:35, from ../../../../Source/XnDeviceFile/XnFileDevice.h:27, from ../../../../Source/XnDeviceFile/XnFileDeviceBC.cpp:21: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDeviceFile/XnFileDevice.h:28, from ../../../../Source/XnDeviceFile/XnFileDeviceBC.cpp:21: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnFileOpenNiteImpl.d x64-Release/XnFileOpenNiteImpl.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnFileOpenNiteImpl.o ../../../../Source/XnDeviceFile/XnFileOpenNiteImpl.cpp In file included from /usr/include/ni/XnModuleCppInterface.h:35, from /usr/include/ni/XnModuleCppRegistratration.h:27, from ../../../../Source/XnDeviceFile/XnFileOpenNiteImpl.cpp:24: /usr/include/ni/XnCppWrapper.h: In constructor 'xn::DepthMetaData::DepthMetaData()': /usr/include/ni/XnCppWrapper.h:762:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 762 | m_writableDepthMap((XnDepthPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::ImageMetaData::ImageMetaData()': /usr/include/ni/XnCppWrapper.h:952:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 952 | m_rgb24Map((XnRGB24Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:953:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 953 | m_writableRgb24Map((XnRGB24Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h:954:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 954 | m_gray16Map((XnGrayscale16Pixel*&)m_image.pData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ~~~~~~~~^~~~~ /usr/include/ni/XnCppWrapper.h:955:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 955 | m_writableGray16Map((XnGrayscale16Pixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y), | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::IRMetaData::IRMetaData()': /usr/include/ni/XnCppWrapper.h:1221:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1221 | m_writableIRMap((XnIRPixel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ /usr/include/ni/XnCppWrapper.h: In constructor 'xn::SceneMetaData::SceneMetaData()': /usr/include/ni/XnCppWrapper.h:1455:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1455 | m_writableLabelMap((XnLabel*&)m_pAllocatedData, MapMetaData::GetUnderlying()->Res.X, MapMetaData::GetUnderlying()->Res.Y) | ^~~~~~~~~~~~~~~~ In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDDK/XnStreamDevice.h:28, from ../../../../Source/XnDDK/XnStreamReaderDevice.h:27, from ../../../../Source/XnDeviceFile/XnDeviceFileReader.h:28, from ../../../../Source/XnDeviceFile/XnExportedFileDevice.h:28, from ../../../../Source/XnDeviceFile/XnFileOpenNiteImpl.cpp:25: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnServerSensorInvoker.cpp: In member function 'XnServerSensorInvoker::SetStreamSharedMemory(XnServerSensorInvoker::SensorInvokerStream*)': ../../../../Source/XnDeviceSensorV2/XnServerSensorInvoker.cpp:303:45: warning: '%s' directive writing up to 199 bytes into a region of size between 45 and 253 [-Wformat-overflow=] 303 | sprintf(strSharedMemoryName, "%u_%s_%s", (XnUInt32)procID, m_sensor.GetUSBPath(), pStream->strType); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/ni/Linux-x86/XnPlatformLinux-x86.h:33, from /usr/include/ni/XnPlatform.h:65, from ../../../../Include/XnDevice.h:27, from ../../../../Source/XnDDK/IXnDevice.h:27, from ../../../../Source/XnDDK/XnDeviceBase.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:27, from ../../../../Source/XnDeviceSensorV2/XnServerSensorInvoker.h:27, from ../../../../Source/XnDeviceSensorV2/XnServerSensorInvoker.cpp:24: /usr/include/bits/stdio2.h:38:34: note: '__sprintf_chk' output between 4 and 411 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnServerSession.d x64-Release/XnServerSession.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnServerSession.o ../../../../Source/XnDeviceSensorV2/XnServerSession.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnSensor.h:30, from ../../../../Source/XnDeviceSensorV2/XnServerSensorInvoker.h:27, from ../../../../Source/XnDeviceSensorV2/XnSensorsManager.h:27, from ../../../../Source/XnDeviceSensorV2/XnServerSession.h:27, from ../../../../Source/XnDeviceSensorV2/XnServerSession.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnServerSession.cpp: In static member function 'static void* XnServerSession::ServeThreadCallback(XN_THREAD_PARAM)': ../../../../Source/XnDeviceSensorV2/XnServerSession.cpp:1263:18: warning: unused variable 'nRetVal' [-Wunused-variable] 1263 | XnStatus nRetVal = pThis->ServeThread(); | ^~~~~~~ ../../../../Source/XnDeviceSensorV2/XnServerSession.cpp: In member function 'XnServerSession::SendReply(XnSensorServerCustomMessages, unsigned int, unsigned int, void*)': ../../../../Source/XnDeviceSensorV2/XnServerSession.cpp:129:17: warning: array subscript 'struct XnSensorClientServerReply[0]' is partly outside array bounds of 'XnUChar[40960]' [-Warray-bounds] 129 | pReply->nRetVal = nRC; | ~~~~~~~~^~~~~~~ ../../../../Source/XnDeviceSensorV2/XnServerSession.cpp:127:17: note: while referencing 'message' 127 | XnUChar message[XN_SENSOR_SERVER_MAX_REPLY_SIZE]; | ^~~~~~~ ../../../../Source/XnDeviceSensorV2/XnServerSession.cpp:130:17: warning: array subscript 'struct XnSensorClientServerReply[0]' is partly outside array bounds of 'XnUChar[40960]' [-Warray-bounds] 130 | pReply->Type = Type; | ~~~~~~~~^~~~ ../../../../Source/XnDeviceSensorV2/XnServerSession.cpp:127:17: note: while referencing 'message' 127 | XnUChar message[XN_SENSOR_SERVER_MAX_REPLY_SIZE]; | ^~~~~~~ ../../../../Source/XnDeviceSensorV2/XnServerSession.cpp:131:17: warning: array subscript 'struct XnSensorClientServerReply[0]' is partly outside array bounds of 'XnUChar[40960]' [-Warray-bounds] 131 | pReply->nDataSize = nDataSize; | ~~~~~~~~^~~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnServerSession.cpp:127:17: note: while referencing 'message' 127 | XnUChar message[XN_SENSOR_SERVER_MAX_REPLY_SIZE]; | ^~~~~~~ g++ -MD -MP -MT "./x64-Release/XnFileWriterStream.d x64-Release/XnFileWriterStream.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnFileWriterStream.o ../../../../Source/XnDeviceFile/XnFileWriterStream.cpp In file included from ../../../../Source/XnDDK/XnDataPacker.h:31, from ../../../../Source/XnDDK/XnStreamWriterStream.h:28, from ../../../../Source/XnDeviceFile/XnFileWriterStream.h:27, from ../../../../Source/XnDeviceFile/XnFileWriterStream.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -o ../../Bin/x64-Release/libXnDeviceFile.so ./x64-Release/XnDeviceFile.o ./x64-Release/XnDeviceFileReader.o ./x64-Release/XnDeviceFileReaderBC.o ./x64-Release/XnDeviceFileWriter.o ./x64-Release/XnExportedFileDevice.o ./x64-Release/XnFileDevice.o ./x64-Release/XnFileDeviceBC.o ./x64-Release/XnFileOpenNiteImpl.o ./x64-Release/XnFileWriterStream.o -L../../Bin/x64-Release -lXnCore -lXnFormats -lXnDDK -lOpenNI -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,--no-undefined -shared ../../../../Source/XnDeviceFile/XnDeviceFileReader.cpp:33:16: warning: type 'struct XnLastStreamData' violates the C++ One Definition Rule [-Wodr] 33 | typedef struct XnLastStreamData | ^ ../../../../Source/XnDeviceFile/XnFileDevice.cpp:40:16: note: a different type is defined in another translation unit 40 | typedef struct XnLastStreamData | ^ ../../../../Source/XnDeviceFile/XnDeviceFileReader.cpp:35:18: note: the first difference of corresponding definitions is field 'nPosition' 35 | XnUInt64 nPosition; | ^ ../../../../Source/XnDeviceFile/XnFileDevice.cpp:42:18: note: a field of same name but different type is defined in another translation unit 42 | XnUInt32 nPosition; | ^ ../../../../Source/XnDeviceFile/XnDeviceFileReader.cpp:33:16: note: type 'XnUInt64' should match type 'XnUInt32' 33 | typedef struct XnLastStreamData | ^ /usr/include/ni/XnHashT.h:39:8: warning: type 'struct XnKeyValuePair' violates the C++ One Definition Rule [-Wodr] 39 | struct XnKeyValuePair | ^ /usr/include/ni/XnHashT.h:39:8: note: a different type is defined in another translation unit 39 | struct XnKeyValuePair | ^ /usr/include/ni/XnHashT.h:55:16: note: the first difference of corresponding definitions is field 'value' 55 | TValue value; | ^ /usr/include/ni/XnHashT.h:55:16: note: a field of same name but different type is defined in another translation unit 55 | TValue value; | ^ /usr/include/ni/XnHashT.h:39:8: note: type 'struct TValue' itself violates the C++ One Definition Rule 39 | struct XnKeyValuePair | ^ /usr/include/ni/XnListT.h:41:8: warning: type 'struct XnLinkedNodeT' violates the C++ One Definition Rule [-Wodr] 41 | struct XnLinkedNodeT | ^ /usr/include/ni/XnListT.h:41:8: note: a different type is defined in another translation unit 41 | struct XnLinkedNodeT | ^ /usr/include/ni/XnListT.h:48:11: note: the first difference of corresponding definitions is field 'value' 48 | T value; | ^ /usr/include/ni/XnListT.h:48:11: note: a field of same name but different type is defined in another translation unit 48 | T value; | ^ /usr/include/ni/XnHashT.h:39:8: note: type 'struct XnKeyValuePair' itself violates the C++ One Definition Rule 39 | struct XnKeyValuePair | ^ /usr/include/ni/XnListT.h:84:7: warning: type 'struct XnListT' violates the C++ One Definition Rule [-Wodr] 84 | class XnListT | ^ /usr/include/ni/XnListT.h:84:7: note: a different type is defined in another translation unit 84 | class XnListT | ^ /usr/include/ni/XnListT.h:563:20: note: the first difference of corresponding definitions is field 'm_anchor' 563 | LinkedNode m_anchor; | ^ /usr/include/ni/XnListT.h:563:20: note: a field of same name but different type is defined in another translation unit 563 | LinkedNode m_anchor; | ^ /usr/include/ni/XnListT.h:84:7: note: type 'struct LinkedNode' itself violates the C++ One Definition Rule 84 | class XnListT | ^ /usr/include/ni/XnHashT.h:77:7: warning: type 'struct XnHashT' violates the C++ One Definition Rule [-Wodr] 77 | class XnHashT | ^ /usr/include/ni/XnHashT.h:77:7: note: a different type is defined in another translation unit 77 | class XnHashT | ^ /usr/include/ni/XnHashT.h:682:19: note: the first difference of corresponding definitions is field 'm_lastBin' 682 | TPairList m_lastBin; | ^ /usr/include/ni/XnHashT.h:682:19: note: a field of same name but different type is defined in another translation unit 682 | TPairList m_lastBin; | ^ /usr/include/ni/XnHashT.h:77:7: note: type 'struct TPairList' itself violates the C++ One Definition Rule 77 | class XnHashT | ^ /usr/include/ni/XnStringsHashT.h:79:7: warning: type 'struct XnStringsHashT' violates the C++ One Definition Rule [-Wodr] 79 | class XnStringsHashT : public XnHashT > | ^ /usr/include/ni/XnStringsHashT.h:79:7: note: a type with different bases is defined in another translation unit 79 | class XnStringsHashT : public XnHashT > | ^ /usr/include/ni/XnHashT.h:535:18: warning: type of 'Get' does not match original declaration [-Wlto-type-mismatch] 535 | XnStatus Get(TKey const& key, TValue& value) | ^ /usr/include/ni/XnHashT.h:535:18: note: 'Get' was previously declared here 535 | XnStatus Get(TKey const& key, TValue& value) | ^ /usr/include/ni/XnHashT.h:535:18: note: code may be misoptimized unless '-fno-strict-aliasing' is used /usr/include/ni/XnHashT.h:441:18: warning: type of 'Find' does not match original declaration [-Wlto-type-mismatch] 441 | Iterator Find(TKey const& key) | ^ /usr/include/ni/XnHashT.h:441:18: note: 'Find' was previously declared here 441 | Iterator Find(TKey const& key) | ^ /usr/include/ni/XnHashT.h:441:18: note: code may be misoptimized unless '-fno-strict-aliasing' is used /usr/include/ni/XnHashT.h:363:18: warning: type of 'End' does not match original declaration [-Wlto-type-mismatch] 363 | Iterator End() | ^ /usr/include/ni/XnHashT.h:363:18: note: 'End' was previously declared here 363 | Iterator End() | ^ /usr/include/ni/XnHashT.h:363:18: note: code may be misoptimized unless '-fno-strict-aliasing' is used /usr/include/ni/XnHashT.h:332:9: warning: type of '__dt_comp ' does not match original declaration [-Wlto-type-mismatch] 332 | ~XnHashT() | ^ /usr/include/ni/XnHashT.h:332:9: note: '__dt_comp ' was previously declared here 332 | ~XnHashT() | ^ /usr/include/ni/XnHashT.h:332:9: note: code may be misoptimized unless '-fno-strict-aliasing' is used /usr/include/ni/XnHashT.h:332:9: warning: type of '__dt_base ' does not match original declaration [-Wlto-type-mismatch] 332 | ~XnHashT() | ^ /usr/include/ni/XnHashT.h:332:9: note: '__dt_base ' was previously declared here 332 | ~XnHashT() | ^ /usr/include/ni/XnHashT.h:332:9: note: code may be misoptimized unless '-fno-strict-aliasing' is used /usr/include/ni/XnHashT.h:306:9: warning: type of '__ct_comp ' does not match original declaration [-Wlto-type-mismatch] 306 | XnHashT() | ^ /usr/include/ni/XnHashT.h:306:9: note: '__ct_comp ' was previously declared here 306 | XnHashT() | ^ /usr/include/ni/XnHashT.h:306:9: note: code may be misoptimized unless '-fno-strict-aliasing' is used /usr/include/ni/XnHashT.h:306:9: warning: type of '__ct_base ' does not match original declaration [-Wlto-type-mismatch] 306 | XnHashT() | ^ /usr/include/ni/XnHashT.h:306:9: note: '__ct_base ' was previously declared here 306 | XnHashT() | ^ /usr/include/ni/XnHashT.h:306:9: note: code may be misoptimized unless '-fno-strict-aliasing' is used /usr/include/ni/XnListT.h:491:18: warning: type of 'Clear' does not match original declaration [-Wlto-type-mismatch] 491 | XnStatus Clear() | ^ /usr/include/ni/XnListT.h:491:18: note: 'Clear' was previously declared here 491 | XnStatus Clear() | ^ /usr/include/ni/XnListT.h:491:18: note: code may be misoptimized unless '-fno-strict-aliasing' is used g++ -MD -MP -MT "./x64-Release/XnStreamProcessor.d x64-Release/XnStreamProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnStreamProcessor.o ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.cpp /usr/include/ni/XnListT.h:446:18: warning: type of 'Remove' does not match original declaration [-Wlto-type-mismatch] 446 | XnStatus Remove(ConstIterator where) | ^ /usr/include/ni/XnListT.h:446:18: note: 'Remove' was previously declared here 446 | XnStatus Remove(ConstIterator where) | ^ /usr/include/ni/XnListT.h:446:18: note: code may be misoptimized unless '-fno-strict-aliasing' is used /usr/include/ni/XnHashT.h:382:18: warning: type of 'Set' does not match original declaration [-Wlto-type-mismatch] 382 | XnStatus Set(const TKey& key, const TValue& value) | ^ /usr/include/ni/XnHashT.h:382:18: note: 'Set' was previously declared here 382 | XnStatus Set(const TKey& key, const TValue& value) | ^ /usr/include/ni/XnHashT.h:382:18: note: code may be misoptimized unless '-fno-strict-aliasing' is used /usr/include/ni/XnListT.h:541:18: warning: type of 'InsertAfter' does not match original declaration [-Wlto-type-mismatch] 541 | XnStatus InsertAfter(LinkedNode* pAfter, T const& val) | ^ /usr/include/ni/XnListT.h:541:18: note: 'InsertAfter' was previously declared here 541 | XnStatus InsertAfter(LinkedNode* pAfter, T const& val) | ^ /usr/include/ni/XnListT.h:541:18: note: code may be misoptimized unless '-fno-strict-aliasing' is used /usr/include/ni/XnHashT.h:652:16: warning: type of 'Find' does not match original declaration [-Wlto-type-mismatch] 652 | XnBool Find(TKey const& key, XnUInt32& nBin, typename TPairList::ConstIterator& currIt) const | ^ /usr/include/ni/XnHashT.h:652:16: note: 'Find' was previously declared here 652 | XnBool Find(TKey const& key, XnUInt32& nBin, typename TPairList::ConstIterator& currIt) const | ^ /usr/include/ni/XnHashT.h:652:16: note: code may be misoptimized unless '-fno-strict-aliasing' is used In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnUncompressedBayerProcessor.d x64-Release/XnUncompressedBayerProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnUncompressedBayerProcessor.o ../../../../Source/XnDeviceSensorV2/XnUncompressedBayerProcessor.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnImageProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnUncompressedBayerProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnUncompressedBayerProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ ../../../../Source/XnDeviceSensorV2/XnUncompressedBayerProcessor.cpp: In member function 'virtual void XnUncompressedBayerProcessor::OnEndOfFrame(const XnSensorProtocolResponseHeader*)': ../../../../Source/XnDeviceSensorV2/XnUncompressedBayerProcessor.cpp:89:24: warning: enumeration value 'XN_OUTPUT_FORMAT_SHIFT_VALUES' not handled in switch [-Wswitch] 89 | switch (GetStream()->GetOutputFormat()) | ^ ../../../../Source/XnDeviceSensorV2/XnUncompressedBayerProcessor.cpp:89:24: warning: enumeration value 'XN_OUTPUT_FORMAT_DEPTH_VALUES' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnUncompressedBayerProcessor.cpp:89:24: warning: enumeration value 'XN_OUTPUT_FORMAT_GRAYSCALE16' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnUncompressedBayerProcessor.cpp:89:24: warning: enumeration value 'XN_OUTPUT_FORMAT_YUV422' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnUncompressedBayerProcessor.cpp:89:24: warning: enumeration value 'XN_OUTPUT_FORMAT_JPEG' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnUncompressedBayerProcessor.cpp:89:24: warning: enumeration value 'XN_OUTPUT_FORMAT_PCM' not handled in switch [-Wswitch] ../../../../Source/XnDeviceSensorV2/XnUncompressedBayerProcessor.cpp:89:24: warning: enumeration value 'XN_OUTPUT_FORMATS_COUNT' not handled in switch [-Wswitch] g++ -MD -MP -MT "./x64-Release/XnUncompressedDepthProcessor.d x64-Release/XnUncompressedDepthProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnUncompressedDepthProcessor.o ../../../../Source/XnDeviceSensorV2/XnUncompressedDepthProcessor.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnDepthProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnUncompressedDepthProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnUncompressedDepthProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnUncompressedYUVImageProcessor.d x64-Release/XnUncompressedYUVImageProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnUncompressedYUVImageProcessor.o ../../../../Source/XnDeviceSensorV2/XnUncompressedYUVImageProcessor.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnImageProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnUncompressedYUVImageProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnUncompressedYUVImageProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnUncompressedYUVtoRGBImageProcessor.d x64-Release/XnUncompressedYUVtoRGBImageProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnUncompressedYUVtoRGBImageProcessor.o ../../../../Source/XnDeviceSensorV2/XnUncompressedYUVtoRGBImageProcessor.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnFrameStreamProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnImageProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnUncompressedYUVtoRGBImageProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnUncompressedYUVtoRGBImageProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/XnWholePacketProcessor.d x64-Release/XnWholePacketProcessor.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/XnWholePacketProcessor.o ../../../../Source/XnDeviceSensorV2/XnWholePacketProcessor.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/XnDataProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnWholePacketProcessor.h:27, from ../../../../Source/XnDeviceSensorV2/XnWholePacketProcessor.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -MD -MP -MT "./x64-Release/YUV.d x64-Release/YUV.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../Include -I../../../../Source -I../../../../Source/XnCommon -DXN_DEVICE_EXPORTS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -fPIC -fvisibility=hidden -o x64-Release/YUV.o ../../../../Source/XnDeviceSensorV2/YUV.cpp In file included from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:40, from ../../../../Source/XnDeviceSensorV2/YUV.h:27, from ../../../../Source/XnDeviceSensorV2/YUV.cpp:24: ../../../../Source/XnCore/XnBuffer.h: In constructor 'XnBuffer::XnBuffer()': ../../../../Source/XnCore/XnBuffer.h:149:18: warning: 'XnBuffer::m_nMaxSize' will be initialized after [-Wreorder] 149 | XnUInt32 m_nMaxSize; | ^~~~~~~~~~ ../../../../Source/XnCore/XnBuffer.h:148:18: warning: 'XnUInt32 XnBuffer::m_nSize' [-Wreorder] 148 | XnUInt32 m_nSize; | ^~~~~~~ ../../../../Source/XnCore/XnBuffer.h:39:9: warning: when initialized here [-Wreorder] 39 | XnBuffer() : m_pData(NULL), m_nMaxSize(0), m_nSize(0), m_bAllocated(FALSE) {} | ^~~~~~~~ g++ -o ../../Bin/x64-Release/libXnDeviceSensorV2.so ./x64-Release/Bayer.o ./x64-Release/Registration.o ./x64-Release/Uncomp.o ./x64-Release/XnAudioProcessor.o ./x64-Release/XnBayerImageProcessor.o ./x64-Release/XnCmosInfo.o ./x64-Release/XnDataProcessor.o ./x64-Release/XnDataProcessorHolder.o ./x64-Release/XnDepthProcessor.o ./x64-Release/XnDeviceSensor.o ./x64-Release/XnDeviceSensorIO.o ./x64-Release/XnDeviceSensorInit.o ./x64-Release/XnDeviceSensorProtocol.o ./x64-Release/XnExportedSensorDevice.o ./x64-Release/XnExportedSensorGenerator.o ./x64-Release/XnFirmwareCommands.o ./x64-Release/XnFirmwareInfo.o ./x64-Release/XnFirmwareStreams.o ./x64-Release/XnFrameStreamProcessor.o ./x64-Release/XnHostProtocol.o ./x64-Release/XnIRProcessor.o ./x64-Release/XnImageProcessor.o ./x64-Release/XnJpegImageProcessor.o ./x64-Release/XnJpegToRGBImageProcessor.o ./x64-Release/XnMultiPropChangedHandler.o ./x64-Release/XnPSCompressedDepthProcessor.o ./x64-Release/XnPSCompressedImageProcessor.o ./x64-Release/XnPacked11DepthProcessor.o ./x64-Release/XnPacked12DepthProcessor.o ./x64-Release/XnSensor.o ./x64-Release/XnSensorAudioGenerator.o ./x64-Release/XnSensorAudioStream.o ./x64-Release/XnSensorClient.o ./x64-Release/XnSensorClientStream.o ./x64-Release/XnSensorDepthGenerator.o ./x64-Release/XnSensorDepthStream.o ./x64-Release/XnSensorDevice.o ./x64-Release/XnSensorFPS.o ./x64-Release/XnSensorFirmware.o ./x64-Release/XnSensorFirmwareParams.o ./x64-Release/XnSensorFixedParams.o ./x64-Release/XnSensorGenerator.o ./x64-Release/XnSensorIRGenerator.o ./x64-Release/XnSensorIRStream.o ./x64-Release/XnSensorImageGenerator.o ./x64-Release/XnSensorImageStream.o ./x64-Release/XnSensorMapGenerator.o ./x64-Release/XnSensorOpenNiteImpl.o ./x64-Release/XnSensorProductionNode.o ./x64-Release/XnSensorServer.o ./x64-Release/XnSensorStreamHelper.o ./x64-Release/XnSensorsManager.o ./x64-Release/XnServerSensorInvoker.o ./x64-Release/XnServerSession.o ./x64-Release/XnStreamProcessor.o ./x64-Release/XnUncompressedBayerProcessor.o ./x64-Release/XnUncompressedDepthProcessor.o ./x64-Release/XnUncompressedYUVImageProcessor.o ./x64-Release/XnUncompressedYUVtoRGBImageProcessor.o ./x64-Release/XnWholePacketProcessor.o ./x64-Release/YUV.o -L../../Bin/x64-Release -lXnCore -lXnFormats -lXnDDK -lOpenNI -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,--no-undefined -shared make[1]: Leaving directory '/builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Build/XnDeviceFile' make[1]: Leaving directory '/builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Build/XnDeviceSensorV2' make -C Utils/XnSensorServer CFG=Release make[1]: Entering directory '/builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Build' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. mkdir -p x64-Release g++ -MD -MP -MT "./x64-Release/SensorServer.d x64-Release/SensorServer.o" -c -msse2 -O2 -DNDEBUG -I/usr/include/ni -I../../../../../Include -I../../../../../Source -I../../../../../Source/XnCommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-unknown-pragmas -o x64-Release/SensorServer.o ../../../../../Source/Utils/XnSensorServer/SensorServer.cpp g++ -o ../../../Bin/x64-Release/XnSensorServer ./x64-Release/SensorServer.o -L../../../Bin/x64-Release -lOpenNI -lXnCore -lXnFormats -lXnDDK -lXnDeviceSensorV2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection make[1]: Leaving directory '/builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Build/Utils/XnSensorServer' make: Leaving directory '/builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Build' Creating redist folder... Creating tar... Done! + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VURhwe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64 + cd Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c + rm -rf /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64 + pushd Platform/Linux/Redist/Sensor-Bin-Linux-x64-v5.1.6.6 ~/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c/Platform/Linux/Redist/Sensor-Bin-Linux-x64-v5.1.6.6 ~/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c + mkdir -p /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/etc/udev/rules.d/ + mkdir -p /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/lib/udev/rules.d + mkdir -p /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/bin + INSTALL_LIB=/builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/lib64/ + INSTALL_BIN=/builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/bin/ + INSTALL_ETC=/builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/etc/openni/primesense/ + SERVER_LOGS_DIR=/builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/var/log/primesense/ + INSTALL_RULES=/builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/etc/udev/rules.d/ + ./install.sh -n Installing PrimeSense Sensor **************************** creating config dir /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/etc/openni/primesense/...OK copying shared libraries...OK copying executables...OK copying server config file...OK setting uid of server...OK creating server logs dir...OK installing usb rules...OK *** DONE *** + popd ~/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c + rm -rf /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/var/log/primesense + rm /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/etc/udev/rules.d/55-primesense-usb.rules + install -m 0644 /builddir/build/SOURCES/openni-primesense-55-primesense-usb.rules /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/lib/udev/rules.d/55-primesense-usb.rules + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 5.1.6.6-20.el9 --unique-debug-suffix -5.1.6.6-20.el9.x86_64 --unique-debug-src-base openni-primesense-5.1.6.6-20.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/lib64/libXnCore.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/bin/XnSensorServer extracting debug info from /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/lib64/libXnCore.so extracting debug info from /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/bin/XnSensorServer explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/lib64/libXnDDK.so extracting debug info from /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/lib64/libXnDDK.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/lib64/libXnDeviceFile.so extracting debug info from /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/lib64/libXnDeviceFile.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/lib64/libXnDeviceSensorV2.so extracting debug info from /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/lib64/libXnDeviceSensorV2.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/lib64/libXnFormats.so extracting debug info from /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/lib64/libXnFormats.so original debug info size: 9320kB, size after compression: 7152kB /usr/lib/rpm/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. 4038 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: openni-primesense-5.1.6.6-20.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AoTIzN + umask 022 + cd /builddir/build/BUILD + cd Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c + DOCDIR=/builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/share/doc/openni-primesense + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/share/doc/openni-primesense + cp -pr LICENSE /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64/usr/share/doc/openni-primesense + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(openni-primesense) = 5.1.6.6-20.el9 libXnCore.so()(64bit) libXnDDK.so()(64bit) libXnDeviceFile.so()(64bit) libXnDeviceSensorV2.so()(64bit) libXnFormats.so()(64bit) openni-primesense = 5.1.6.6-20.el9 openni-primesense(x86-64) = 5.1.6.6-20.el9 Requires(interp): /bin/sh /bin/sh /bin/sh /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /sbin/ldconfig Requires: libOpenNI.so()(64bit) libXnCore.so()(64bit) libXnDDK.so()(64bit) libXnDeviceSensorV2.so()(64bit) libXnFormats.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: openni-primesense-debugsource-5.1.6.6-20.el9.x86_64 Provides: openni-primesense-debugsource = 5.1.6.6-20.el9 openni-primesense-debugsource(x86-64) = 5.1.6.6-20.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: openni-primesense-debuginfo-5.1.6.6-20.el9.x86_64 Provides: debuginfo(build-id) = 0519b1a26c01bda56e8753a5a0b599def57fdb2c debuginfo(build-id) = 4d9aaa043a7fdcd316e8dbeb298bb37677618026 debuginfo(build-id) = 58d672d2c27a758acbce62437996e2c395a00151 debuginfo(build-id) = 6f1770f1fec3ed69edc6983f6aded331845db6ba debuginfo(build-id) = ba43a680ed003f2dd0c92e264277ed17b69f2748 debuginfo(build-id) = c27547ece6ff3ba3725120139787827005db13e5 openni-primesense-debuginfo = 5.1.6.6-20.el9 openni-primesense-debuginfo(x86-64) = 5.1.6.6-20.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: openni-primesense-debugsource(x86-64) = 5.1.6.6-20.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64 Wrote: /builddir/build/RPMS/openni-primesense-debugsource-5.1.6.6-20.el9.x86_64.rpm Wrote: /builddir/build/RPMS/openni-primesense-5.1.6.6-20.el9.x86_64.rpm Wrote: /builddir/build/RPMS/openni-primesense-debuginfo-5.1.6.6-20.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pL1dvB + umask 022 + cd /builddir/build/BUILD + cd Sensor-60170bfe8de166b2947ea2d604506f0bdfa0565c + /usr/bin/rm -rf /builddir/build/BUILDROOT/openni-primesense-5.1.6.6-20.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0