Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/librealsense.spec'], chrootPath='/var/lib/mock/f33-build-264086-51321/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/librealsense.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1590451200 Wrote: /builddir/build/SRPMS/librealsense-2.33.1-6.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/librealsense.spec'], chrootPath='/var/lib/mock/f33-build-264086-51321/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/librealsense.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1590451200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fb1yGE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf librealsense-2.33.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/librealsense-2.33.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd librealsense-2.33.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/librealsense.remove-cflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/librealsense.realsense-file-shared-library.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/librealsense.separate-python-target.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.taMOsC + umask 022 + cd /builddir/build/BUILD + cd librealsense-2.33.1 + mkdir -p build + pushd build ~/build/BUILD/librealsense-2.33.1/build ~/build/BUILD/librealsense-2.33.1 + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_UNIT_TESTS=NO -DCMAKE_INSTALL_BINDIR=/usr/bin -DCMAKE_INSTALL_LIBDIR=/usr/lib64 -DCMAKE_INSTALL_INCLUDEDIR=/usr/include -DBUILD_PYTHON_BINDINGS:bool=true -DPYTHON_EXECUTABLE=/usr/bin/python3 .. -- The CXX compiler identification is GNU 10.1.1 -- The C compiler identification is GNU 10.1.1 -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Failed to identify Internet connection CMake Warning at CMakeLists.txt:16 (message): No internet connection, disabling BUILD_WITH_TM2 CMake Warning at CMakeLists.txt:22 (message): No internet connection, disabling IMPORT_DEPTH_CAM_FW -- Info: REALSENSE_VERSION_STRING=2.33.1 -- Performing Test COMPILER_SUPPORTS_CXX11 -- Performing Test COMPILER_SUPPORTS_CXX11 - Success -- Performing Test COMPILER_SUPPORTS_CXX0X -- Performing Test COMPILER_SUPPORTS_CXX0X - Success -- Setting Unix configurations -- Found usb: /usr/lib64/libusb-1.0.so -- using RS2_USE_V4L2_BACKEND -- Found Python: /usr/bin/python3.9 (found version "3.9.0") found components: Interpreter Development -- Found PythonInterp: /usr/bin/python3 (found version "3.9") -- Found PythonLibs: /usr/lib64/libpython3.9.so -- pybind11 v2.2.1 -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- LTO enabled CMake Warning (dev) at /usr/share/cmake/Modules/FindOpenGL.cmake:305 (message): Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when available. Run "cmake --help-policy CMP0072" for policy details. Use the cmake_policy command to set the policy and suppress this warning. FindOpenGL found both a legacy GL library: OPENGL_gl_LIBRARY: /usr/lib64/libGL.so and GLVND libraries for OpenGL and GLX: OPENGL_opengl_LIBRARY: /usr/lib64/libOpenGL.so OPENGL_glx_LIBRARY: /usr/lib64/libGLX.so OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for compatibility with CMake 3.10 and below the legacy GL library will be used. Call Stack (most recent call first): CMake/opengl_config.cmake:1 (find_package) src/gl/CMakeLists.txt:43 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found OpenGL: /usr/lib64/libOpenGL.so CMake Warning (dev) at /usr/share/cmake/Modules/FindOpenGL.cmake:305 (message): Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when available. Run "cmake --help-policy CMP0072" for policy details. Use the cmake_policy command to set the policy and suppress this warning. FindOpenGL found both a legacy GL library: OPENGL_gl_LIBRARY: /usr/lib64/libGL.so and GLVND libraries for OpenGL and GLX: OPENGL_opengl_LIBRARY: /usr/lib64/libOpenGL.so OPENGL_glx_LIBRARY: /usr/lib64/libGLX.so OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for compatibility with CMake 3.10 and below the legacy GL library will be used. Call Stack (most recent call first): CMake/opengl_config.cmake:1 (find_package) examples/CMakeLists.txt:14 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Could NOT find apriltag (missing: APRILTAG_INC APRILTAG_LIB) -- Unable to find apriltag library, skipping pose-apriltag example CMake Warning (dev) at /usr/share/cmake/Modules/FindOpenGL.cmake:305 (message): Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when available. Run "cmake --help-policy CMP0072" for policy details. Use the cmake_policy command to set the policy and suppress this warning. FindOpenGL found both a legacy GL library: OPENGL_gl_LIBRARY: /usr/lib64/libGL.so and GLVND libraries for OpenGL and GLX: OPENGL_opengl_LIBRARY: /usr/lib64/libOpenGL.so OPENGL_glx_LIBRARY: /usr/lib64/libGLX.so OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for compatibility with CMake 3.10 and below the legacy GL library will be used. Call Stack (most recent call first): CMake/opengl_config.cmake:1 (find_package) tools/CMakeLists.txt:22 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/librealsense-2.33.1/build + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/cmake -S/builddir/build/BUILD/librealsense-2.33.1 -B/builddir/build/BUILD/librealsense-2.33.1/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/librealsense-2.33.1/build/CMakeFiles /builddir/build/BUILD/librealsense-2.33.1/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f third-party/realsense-file/CMakeFiles/realsense-file.dir/build.make third-party/realsense-file/CMakeFiles/realsense-file.dir/depend /usr/bin/make -f wrappers/python/CMakeFiles/pybackend2.dir/build.make wrappers/python/CMakeFiles/pybackend2.dir/depend make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' cd /builddir/build/BUILD/librealsense-2.33.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/librealsense-2.33.1 /builddir/build/BUILD/librealsense-2.33.1/wrappers/python /builddir/build/BUILD/librealsense-2.33.1/build /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python/CMakeFiles/pybackend2.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python/CMakeFiles/pybackend2.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python/CMakeFiles/pybackend2.dir/depend.internal". Dependee "/builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python/CMakeFiles/pybackend2.dir/depend.internal". Scanning dependencies of target pybackend2 make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' /usr/bin/make -f wrappers/python/CMakeFiles/pybackend2.dir/build.make wrappers/python/CMakeFiles/pybackend2.dir/build make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' cd /builddir/build/BUILD/librealsense-2.33.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/librealsense-2.33.1 /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file /builddir/build/BUILD/librealsense-2.33.1/build /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file/CMakeFiles/realsense-file.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file/CMakeFiles/realsense-file.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file/CMakeFiles/realsense-file.dir/depend.internal". Dependee "/builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file/CMakeFiles/realsense-file.dir/depend.internal". Scanning dependencies of target realsense-file make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' /usr/bin/make -f third-party/realsense-file/CMakeFiles/realsense-file.dir/build.make third-party/realsense-file/CMakeFiles/realsense-file.dir/build make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 2%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/backend.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Dpybackend2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include -I/usr/include/python3.9 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend2 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/../../include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -std=gnu++11 -o CMakeFiles/pybackend2.dir/__/__/src/backend.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/backend.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 2%] Building C object third-party/realsense-file/CMakeFiles/realsense-file.dir/lz4/lz4.c.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/gcc -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -D_DEFAULT_SOURCE -pthread -fPIC -o CMakeFiles/realsense-file.dir/lz4/lz4.c.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lz4.c make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 2%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/console_bridge/src/console.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/console_bridge/src/console.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/src/console.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/src/console.cpp:37: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 0%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/pybackend_extras.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Dpybackend2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include -I/usr/include/python3.9 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend2 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/../../include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -std=gnu++11 -o CMakeFiles/pybackend2.dir/pybackend_extras.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.h:1, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.cpp:1: /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.h:1, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.cpp:1: /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.h:1, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.cpp:1: /builddir/build/BUILD/librealsense-2.33.1/src/../src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/../src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.h:1, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.cpp:1: /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.h:1, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.cpp:1: /builddir/build/BUILD/librealsense-2.33.1/src/../src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/../src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/../src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.h:1, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.cpp:1: /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.h:1, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend_extras.cpp:1: /builddir/build/BUILD/librealsense-2.33.1/src/../src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 2%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/libusb/interface-libusb.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Dpybackend2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include -I/usr/include/python3.9 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend2 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/../../include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -std=gnu++11 -o CMakeFiles/pybackend2.dir/__/__/src/libusb/interface-libusb.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h: In constructor 'librealsense::platform::handle_libusb::handle_libusb(std::shared_ptr, libusb_device*, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:103:51: warning: 'librealsense::platform::handle_libusb::_first_interface' will be initialized after [-Wreorder] 103 | std::shared_ptr _first_interface; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:102:42: warning: 'std::shared_ptr librealsense::platform::handle_libusb::_context' [-Wreorder] 102 | std::shared_ptr _context; | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:42:13: warning: when initialized here [-Wreorder] 42 | handle_libusb(std::shared_ptr context, libusb_device* device, std::shared_ptr interface) : | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 3%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/cpp_common/src/debug.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/cpp_common/src/debug.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/src/debug.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 1%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/log.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Dpybackend2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include -I/usr/include/python3.9 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend2 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/../../include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -std=gnu++11 -o CMakeFiles/pybackend2.dir/__/__/src/log.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/log.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/log.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/log.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/log.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/log.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/log.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/log.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/log.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 2%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/third-party/easyloggingpp/src/easylogging++.cc.o cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Dpybackend2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include -I/usr/include/python3.9 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend2 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/../../include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -std=gnu++11 -o CMakeFiles/pybackend2.dir/__/__/third-party/easyloggingpp/src/easylogging++.cc.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/easyloggingpp/src/easylogging++.cc make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 1%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/types.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Dpybackend2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include -I/usr/include/python3.9 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend2 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/../../include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -std=gnu++11 -o CMakeFiles/pybackend2.dir/__/__/src/types.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/types.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/types.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_processing.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/types.cpp:13: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.cpp: In function 'std::string librealsense::make_less_screamy(const char*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.cpp:28:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 28 | for (auto i = 0; i < res.size(); i++) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::notifications_processor::notifications_processor()': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1083:20: warning: 'librealsense::notifications_processor::_dispatcher' will be initialized after [-Wreorder] 1083 | dispatcher _dispatcher; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1081:36: warning: 'librealsense::notifications_callback_ptr librealsense::notifications_processor::_callback' [-Wreorder] 1081 | notifications_callback_ptr _callback; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.cpp:662:5: warning: when initialized here [-Wreorder] 662 | notifications_processor::notifications_processor() | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/types.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/types.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 4%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/cpp_common/src/header.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/cpp_common/src/header.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/src/header.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/src/header.cpp:37: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 2%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/libusb/device-libusb.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Dpybackend2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include -I/usr/include/python3.9 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend2 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/../../include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -std=gnu++11 -o CMakeFiles/pybackend2.dir/__/__/src/libusb/device-libusb.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h: In constructor 'librealsense::platform::handle_libusb::handle_libusb(std::shared_ptr, libusb_device*, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:103:51: warning: 'librealsense::platform::handle_libusb::_first_interface' will be initialized after [-Wreorder] 103 | std::shared_ptr _first_interface; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:102:42: warning: 'std::shared_ptr librealsense::platform::handle_libusb::_context' [-Wreorder] 102 | std::shared_ptr _context; | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:42:13: warning: when initialized here [-Wreorder] 42 | handle_libusb(std::shared_ptr context, libusb_device* device, std::shared_ptr interface) : | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 4%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/libusb/messenger-libusb.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Dpybackend2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include -I/usr/include/python3.9 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend2 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/../../include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -std=gnu++11 -o CMakeFiles/pybackend2.dir/__/__/src/libusb/messenger-libusb.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h: In constructor 'librealsense::platform::handle_libusb::handle_libusb(std::shared_ptr, libusb_device*, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:103:51: warning: 'librealsense::platform::handle_libusb::_first_interface' will be initialized after [-Wreorder] 103 | std::shared_ptr _first_interface; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:102:42: warning: 'std::shared_ptr librealsense::platform::handle_libusb::_context' [-Wreorder] 102 | std::shared_ptr _context; | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:42:13: warning: when initialized here [-Wreorder] 42 | handle_libusb(std::shared_ptr context, libusb_device* device, std::shared_ptr interface) : | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 6%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/buffer.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/buffer.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/buffer.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 4%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/libusb/enumerator-libusb.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Dpybackend2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include -I/usr/include/python3.9 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend2 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/../../include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -std=gnu++11 -o CMakeFiles/pybackend2.dir/__/__/src/libusb/enumerator-libusb.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h: In constructor 'librealsense::platform::handle_libusb::handle_libusb(std::shared_ptr, libusb_device*, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:103:51: warning: 'librealsense::platform::handle_libusb::_first_interface' will be initialized after [-Wreorder] 103 | std::shared_ptr _first_interface; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:102:42: warning: 'std::shared_ptr librealsense::platform::handle_libusb::_context' [-Wreorder] 102 | std::shared_ptr _context; | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:42:13: warning: when initialized here [-Wreorder] 42 | handle_libusb(std::shared_ptr context, libusb_device* device, std::shared_ptr interface) : | ^~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp: In function 'std::string librealsense::platform::get_device_path(libusb_device*)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:28:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 28 | for (size_t i = 0; i < port_count; ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:30:70: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 30 | port_path << std::to_string(usb_ports[i]) << (((i+1) < port_count)?".":""); | make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' ~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:26:18: warning: unused variable 'r' [-Wunused-variable] 26 | auto r= libusb_get_device_descriptor(usb_device,&dev_desc); | ^ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp: In static member function 'static librealsense::platform::rs_usb_device librealsense::platform::usb_enumerator::create_usb_device(const librealsense::platform::usb_device_info&)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:123:43: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 123 | catch (std::exception e) | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 4%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/libusb/request-libusb.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Dpybackend2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include -I/usr/include/python3.9 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend2 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/../../include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -std=gnu++11 -o CMakeFiles/pybackend2.dir/__/__/src/libusb/request-libusb.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h: In constructor 'librealsense::platform::handle_libusb::handle_libusb(std::shared_ptr, libusb_device*, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:103:51: warning: 'librealsense::platform::handle_libusb::_first_interface' will be initialized after [-Wreorder] 103 | std::shared_ptr _first_interface; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:102:42: warning: 'std::shared_ptr librealsense::platform::handle_libusb::_context' [-Wreorder] 102 | std::shared_ptr _context; | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:42:13: warning: when initialized here [-Wreorder] 42 | handle_libusb(std::shared_ptr context, libusb_device* device, std::shared_ptr interface) : | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 7%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/lz4_stream.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/lz4_stream.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/lz4_stream.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/lz4_stream.cpp:39: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 7%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/message_instance.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/message_instance.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/message_instance.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/message_instance.cpp:28: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 6%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/bag_player.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/bag_player.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag_player.h:40, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:1: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/foreach.hpp:69, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag_player.h:38, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:1: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_::************ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:1: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag_player.h:81:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 81 | BagPlayer(const std::string &filename) throw(BagException); | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:8:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 8 | BagPlayer::BagPlayer(const std::string &fname) throw(BagException) { | ^~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/detail/maybe_include.hpp:18, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/detail/function_iterate.hpp:14, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function.hpp:64, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag_player.h:40, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:1: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp: In instantiation of 'void boost::detail::function::basic_vtable1::assign_functor(FunctionObj, boost::detail::function::function_buffer&, mpl_::true_) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; mpl_::true_ = mpl_::bool_]': /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:608:27: required from 'bool boost::detail::function::basic_vtable1::assign_to(FunctionObj, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:498:27: required from 'bool boost::detail::function::basic_vtable1::assign_to(F, boost::detail::function::function_buffer&) const [with F = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:942:34: required from 'void boost::function1::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:728:22: required from 'boost::function1::function1(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c::value>::value, int>::type = int]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16: required from 'boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c::value>::value, int>::type = int]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:50:60: required from here /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:572:16: warning: placement new constructing an object of type 'rosbag::TopicQuery' and size '24' in a region of type 'char' and size '1' [-Wplacement-new=] 572 | new (reinterpret_cast(&functor.data)) FunctionObj(f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/detail/prologue.hpp:17, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function.hpp:24, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag_player.h:40, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:1: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_base.hpp: In instantiation of 'static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]': /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_base.hpp:364:56: required from 'static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = rosbag::TopicQuery; mpl_::true_ = mpl_::bool_]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_base.hpp:412:18: required from 'static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = rosbag::TopicQuery]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_base.hpp:440:20: required from 'static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:940:13: required from 'void boost::function1::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:728:22: required from 'boost::function1::function1(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c::value>::value, int>::type = int]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16: required from 'boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c::value>::value, int>::type = int]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag_player.cpp:50:60: required from here /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_base.hpp:318:18: warning: placement new constructing an object of type 'boost::detail::function::functor_manager_common::functor_type' {aka 'rosbag::TopicQuery'} and size '24' in a region of type 'char' and size '1' [-Wplacement-new=] 318 | new (reinterpret_cast(&out_buffer.data)) functor_type(*in_functor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 8%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/stream.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/stream.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/stream.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 5%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/linux/backend-hid.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Dpybackend2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include -I/usr/include/python3.9 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend2 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/../../include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -std=gnu++11 -o CMakeFiles/pybackend2.dir/__/__/src/linux/backend-hid.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/metadata.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/metadata.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/metadata.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/metadata.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp: In member function 'std::vector librealsense::platform::hid_custom_sensor::get_report_data(const string&, librealsense::platform::custom_sensor_report_field)': /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:186:24: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 186 | catch(std::out_of_range) | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:283:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 283 | for (auto i = 0; i < read_size / channel_size; ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/metadata.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/metadata.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/metadata.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 7%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/query.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/query.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/query.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/query.cpp:29: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/foreach.hpp:69, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/query.cpp:31: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_::************ | ^ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 9%] Building C object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/roslz4/src/lz4s.c.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/gcc -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -D_DEFAULT_SOURCE -pthread -fPIC -o CMakeFiles/realsense-file.dir/rosbag/roslz4/src/lz4s.c.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/src/lz4s.c make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 6%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/chunked_file.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/chunked_file.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/chunked_file.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 9%] Building C object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/roslz4/src/xxhash.c.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/gcc -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -D_DEFAULT_SOURCE -pthread -fPIC -o CMakeFiles/realsense-file.dir/rosbag/roslz4/src/xxhash.c.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/src/xxhash.c make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 9%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/roscpp_serialization/src/serialization.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/roscpp_serialization/src/serialization.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/src/serialization.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 10%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/duration.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/rostime/src/duration.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/src/duration.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 10%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/rate.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/rostime/src/rate.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/src/rate.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 5%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/bag.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/bag.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag.cpp:28: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag.cpp:45: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/aux_/na_assert.hpp:23, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/arg.hpp:25, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/placeholders.hpp:24, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/iterator/iterator_categories.hpp:17, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/iterator/iterator_facade.hpp:14, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:39, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag.cpp:31: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_::************ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag.cpp: In member function 'std::tuple, std::allocator >, long unsigned int, long unsigned int> rosbag::Bag::getCompressionInfo() const': /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag.cpp:204:10: warning: unused variable 'compression' [-Wunused-variable] 204 | auto compression = compression_; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag.cpp:225:10: warning: unused variable 'chunk_count' [-Wunused-variable] 225 | auto chunk_count = chunks_.size(); | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag.cpp: In member function 'void rosbag::Bag::startReadingVersion102()': /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/bag.cpp:352:31: warning: catching polymorphic type 'class rosbag::BagFormatException' by value [-Wcatch-value=] 352 | catch (BagFormatException ex) { | ^~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 10%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/time.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/rostime/src/time.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/src/time.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/src/time.cpp:99:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 99 | throw(NoHighPerformanceTimersException) | ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 8%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/uncompressed_stream.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/uncompressed_stream.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/uncompressed_stream.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 5%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/__/__/src/linux/backend-v4l2.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Dpybackend2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include -I/usr/include/python3.9 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend2 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/../../include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -std=gnu++11 -o CMakeFiles/pybackend2.dir/__/__/src/linux/backend-v4l2.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.cpp: In member function 'virtual void librealsense::platform::v4l_uvc_device::probe_and_commit(librealsense::platform::stream_profile, librealsense::platform::frame_callback, int)': /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.cpp:695:38: warning: variable 'frame_size' set but not used [-Wunused-but-set-variable] 695 | v4l2_frmsizeenum frame_size = {}; | ^~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.cpp: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.cpp:374:50: warning: 'std::tuple, std::allocator >, short unsigned int> librealsense::platform::get_usb_descriptors(libusb_device*)' defined but not used [-Wunused-function] 374 | static std::tuple get_usb_descriptors(libusb_device* usb_device) | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-v4l2.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 8%] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/view.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense_file_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/view.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/view.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/view.cpp:28: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/aux_/na_assert.hpp:23, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/arg.hpp:25, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/placeholders.hpp:24, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/iterator/iterator_categories.hpp:17, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/iterator/iterator_facade.hpp:14, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:39, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/view.cpp:28: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_::************ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/view.cpp: In member function 'void rosbag::View::addQuery(const rosbag::Bag&, const rs2rosinternal::Time&, const rs2rosinternal::Time&)': /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/view.cpp:249:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 249 | if ((bag.getMode() & bagmode::Read) != bagmode::Read) | ^~ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/src/view.cpp:252:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 252 | boost::function query = TrueQuery(); | ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 11%] Linking CXX shared library librealsense-file.so cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/cmake -E cmake_link_script CMakeFiles/realsense-file.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,librealsense-file.so.2.33 -o librealsense-file.so.2.33.1 CMakeFiles/realsense-file.dir/lz4/lz4.c.o CMakeFiles/realsense-file.dir/rosbag/console_bridge/src/console.cpp.o CMakeFiles/realsense-file.dir/rosbag/cpp_common/src/debug.cpp.o CMakeFiles/realsense-file.dir/rosbag/cpp_common/src/header.cpp.o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/bag.cpp.o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/bag_player.cpp.o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/buffer.cpp.o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/chunked_file.cpp.o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/lz4_stream.cpp.o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/message_instance.cpp.o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/query.cpp.o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/stream.cpp.o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/uncompressed_stream.cpp.o CMakeFiles/realsense-file.dir/rosbag/rosbag_storage/src/view.cpp.o CMakeFiles/realsense-file.dir/rosbag/roscpp_serialization/src/serialization.cpp.o CMakeFiles/realsense-file.dir/rosbag/roslz4/src/lz4s.c.o CMakeFiles/realsense-file.dir/rosbag/roslz4/src/xxhash.c.o CMakeFiles/realsense-file.dir/rosbag/rostime/src/duration.cpp.o CMakeFiles/realsense-file.dir/rosbag/rostime/src/rate.cpp.o CMakeFiles/realsense-file.dir/rosbag/rostime/src/time.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/third-party/realsense-file && /usr/bin/cmake -E cmake_symlink_library librealsense-file.so.2.33.1 librealsense-file.so.2.33 librealsense-file.so make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[1]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 11%] Built target realsense-file make[1]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' /usr/bin/make -f CMakeFiles/realsense2.dir/build.make CMakeFiles/realsense2.dir/depend make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' cd /builddir/build/BUILD/librealsense-2.33.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/librealsense-2.33.1 /builddir/build/BUILD/librealsense-2.33.1 /builddir/build/BUILD/librealsense-2.33.1/build /builddir/build/BUILD/librealsense-2.33.1/build /builddir/build/BUILD/librealsense-2.33.1/build/CMakeFiles/realsense2.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/librealsense-2.33.1/build/CMakeFiles/realsense2.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/librealsense-2.33.1/build/CMakeFiles/realsense2.dir/depend.internal". Dependee "/builddir/build/BUILD/librealsense-2.33.1/build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/librealsense-2.33.1/build/CMakeFiles/realsense2.dir/depend.internal". Scanning dependencies of target realsense2 make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' /usr/bin/make -f CMakeFiles/realsense2.dir/build.make CMakeFiles/realsense2.dir/build make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 0%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/pybackend.cpp.o cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Dpybackend2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include -I/usr/include/python3.9 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend2 -I/builddir/build/BUILD/librealsense-2.33.1/wrappers/python/../../include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -std=gnu++11 -o CMakeFiles/pybackend2.dir/pybackend.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:17: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:17: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:16, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] 82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x | ^ In file included from /usr/include/python3.9/Python.h:136, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/common.h:111, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pytypes.h:12, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /usr/include/python3.9/pythread.h:108:36: note: declared here 108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:16, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] 82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x | ^ In file included from /usr/include/python3.9/Python.h:136, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/common.h:111, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pytypes.h:12, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /usr/include/python3.9/pythread.h:108:36: note: declared here 108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:16, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/internals.h:165:28: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations] 165 | PyEval_InitThreads(); | ^ In file included from /usr/include/python3.9/Python.h:145, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/common.h:111, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pytypes.h:12, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /usr/include/python3.9/ceval.h:130:37: note: declared here 130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:16, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/internals.h:167:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] 167 | internals_ptr->tstate = PyThread_create_key(); | ^ In file included from /usr/include/python3.9/Python.h:136, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/common.h:111, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pytypes.h:12, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /usr/include/python3.9/pythread.h:108:36: note: declared here 108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void); | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:16, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/internals.h:168:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] 168 | PyThread_set_key_value(internals_ptr->tstate, tstate); | ^ In file included from /usr/include/python3.9/Python.h:136, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/common.h:111, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pytypes.h:12, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /usr/include/python3.9/pythread.h:110:36: note: declared here 110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:1741:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] 1741 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); | ^ In file included from /usr/include/python3.9/Python.h:136, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/common.h:111, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pytypes.h:12, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /usr/include/python3.9/pythread.h:112:39: note: declared here 112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:1753:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] 1753 | PyThread_set_key_value(internals.tstate, tstate); | ^ In file included from /usr/include/python3.9/Python.h:136, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/common.h:111, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pytypes.h:12, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /usr/include/python3.9/pythread.h:110:36: note: declared here 110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:1792:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] 1792 | PyThread_delete_key_value(detail::get_internals().tstate); | ^ In file included from /usr/include/python3.9/Python.h:136, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/common.h:111, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pytypes.h:12, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /usr/include/python3.9/pythread.h:113:37: note: declared here 113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:1820:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] 1820 | PyThread_set_key_value(key, nullptr); | ^ In file included from /usr/include/python3.9/Python.h:136, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/common.h:111, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pytypes.h:12, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /usr/include/python3.9/pythread.h:110:36: note: declared here 110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:1833:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] 1833 | PyThread_set_key_value(key, tstate); | ^ In file included from /usr/include/python3.9/Python.h:136, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/detail/common.h:111, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pytypes.h:12, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/cast.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/attr.h:13, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/third_party/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:4: /usr/include/python3.9/pythread.h:110:36: note: declared here 110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:17: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:17: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:325:35: warning: comparison of integer expressions of different signedness: 'int' and 'pybind11::size_t' {aka 'long unsigned int'} [-Wsign-compare] 325 | for (int i = 0; i < l.size(); ++i) | ~~^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:398:27: warning: comparison of integer expressions of different signedness: 'int' and 'pybind11::size_t' {aka 'long unsigned int'} [-Wsign-compare] 398 | for (int i = 0; i < l.size(); ++i) | ~~^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:440:31: warning: comparison of integer expressions of different signedness: 'int' and 'pybind11::size_t' {aka 'long unsigned int'} [-Wsign-compare] 440 | for (int i = 0; i < l.size(); ++i) | ~~^~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:17: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:17: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/wrappers/python/pybackend.cpp:17: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 12%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-timestamp.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ds5/ds5-timestamp.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.hmake[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' :69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp:12: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp:12: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-timestamp.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 12%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-private.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ds5/ds5-private.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp: In function 'librealsense::ds::ds5_rect_resolutions librealsense::ds::width_height_to_ds5_rect_resolutions(uint32_t, uint32_t)': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:18:35: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 18 | if (elem.second.x == width && elem.second.y == height) | ~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:18:61: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 18 | if (elem.second.x == width && elem.second.y == height) | ~~~~~~~~~~~~~~^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp: In function 'rs2_intrinsics librealsense::ds::get_intrinsic_fisheye_table(const std::vector&, uint32_t, uint32_t)': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:137:63: warning: left operand of comma operator has no effect [-Wunused-value] 137 | LOG_DEBUG(endl<< array2str((float_4&)(intrinsics.fx, intrinsics.fy, intrinsics.ppx, intrinsics.ppy)) << endl); | ~~~~~~~~~~~^~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:221:64: note: in definition of macro 'LOG_DEBUG' 221 | #define LOG_DEBUG(...) do { CLOG(DEBUG ,"librealsense") << __VA_ARGS__; } while(false) | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:137:78: warning: right operand of comma operator has no effect [-Wunused-value] 137 | LOG_DEBUG(endl<< array2str((float_4&)(intrinsics.fx, intrinsics.fy, intrinsics.ppx, intrinsics.ppy)) << endl); | ~~~~~~~~~~~^~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:221:64: note: in definition of macro 'LOG_DEBUG' 221 | #define LOG_DEBUG(...) do { CLOG(DEBUG ,"librealsense") << __VA_ARGS__; } while(false) | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:137:93: warning: right operand of comma operator has no effect [-Wunused-value] 137 | LOG_DEBUG(endl<< array2str((float_4&)(intrinsics.fx, intrinsics.fy, intrinsics.ppx, intrinsics.ppy)) << endl); | ~~~~~~~~~~~^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:221:64: note: in definition of macro 'LOG_DEBUG' 221 | #define LOG_DEBUG(...) do { CLOG(DEBUG ,"librealsense") << __VA_ARGS__; } while(false) | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp: In function 'rs2_intrinsics librealsense::ds::get_color_stream_intrinsic(const std::vector&, uint32_t, uint32_t)': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:181:67: warning: left operand of comma operator has no effect [-Wunused-value] 181 | LOG_DEBUG(endl << array2str((float_4&)(calc_intrinsic.fx, calc_intrinsic.fy, calc_intrinsic.ppx, calc_intrinsic.ppy)) << endl); | ~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:221:64: note: in definition of macro 'LOG_DEBUG' 221 | #define LOG_DEBUG(...) do { CLOG(DEBUG ,"librealsense") << __VA_ARGS__; } while(false) | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:181:86: warning: right operand of comma operator has no effect [-Wunused-value] 181 | LOG_DEBUG(endl << array2str((float_4&)(calc_intrinsic.fx, calc_intrinsic.fy, calc_intrinsic.ppx, calc_intrinsic.ppy)) << endl); | ~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:221:64: note: in definition of macro 'LOG_DEBUG' 221 | #define LOG_DEBUG(...) do { CLOG(DEBUG ,"librealsense") << __VA_ARGS__; } while(false) | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:181:105: warning: right operand of comma operator has no effect [-Wunused-value] 181 | LOG_DEBUG(endl << array2str((float_4&)(calc_intrinsic.fx, calc_intrinsic.fy, calc_intrinsic.ppx, calc_intrinsic.ppy)) << endl); | ~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:221:64: note: in definition of macro 'LOG_DEBUG' 221 | #define LOG_DEBUG(...) do { CLOG(DEBUG ,"librealsense") << __VA_ARGS__; } while(false) | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp: In function 'bool librealsense::ds::try_get_intrinsic_by_resolution_new(const std::vector&, uint32_t, uint32_t, rs2_intrinsics*)': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:193:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 193 | for (int i = 0; i < count; i++) | ~~^~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'std::string librealsense::array2str(T&) [with T = float [4]; std::string = std::__cxx11::basic_string]': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:28:13: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:117:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 117 | for (auto i = 0; i < arr_size(data); i++) | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 11%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-options.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ds5/ds5-options.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h: In constructor 'librealsense::asic_and_projector_temperature_options::asic_and_projector_temperature_options(librealsense::uvc_sensor&, rs2_option)': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:35:37: warning: 'librealsense::asic_and_projector_temperature_options::_option' will be initialized after [-Wreorder] 35 | rs2_option _option; | ^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:34:37: warning: 'librealsense::uvc_sensor& librealsense::asic_and_projector_temperature_options::_ep' [-Wreorder] 34 | uvc_sensor& _ep; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:114:5: warning: when initialized here [-Wreorder] 114 | asic_and_projector_temperature_options::asic_and_projector_temperature_options(uvc_sensor& ep, rs2_option opt) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h: In constructor 'librealsense::auto_exposure_mode_option::auto_exposure_mode_option(std::shared_ptr, std::shared_ptr, const librealsense::option_range&, const std::map >&)': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:129:53: warning: 'librealsense::auto_exposure_mode_option::_auto_exposure' will be initialized after [-Wreorder] 129 | std::shared_ptr _auto_exposure; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:127:53: warning: 'const std::map > librealsense::auto_exposure_mode_option::_description_per_value' [-Wreorder] 127 | const std::map _description_per_value; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:226:5: warning: when initialized here [-Wreorder] 226 | auto_exposure_mode_option::auto_exposure_mode_option(std::shared_ptr auto_exposure, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp: In member function 'virtual const char* librealsense::auto_exposure_mode_option::get_value_description(float) const': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:256:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 256 | catch(std::out_of_range) | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp: In member function 'virtual const char* librealsense::auto_exposure_antiflicker_rate_option::get_value_description(float) const': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:315:20: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 315 | catch(std::out_of_range) | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 12%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-nonmonochrome.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ds5/ds5-nonmonochrome.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-nonmonochrome.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 13%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-color.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ds5/ds5-color.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rmake[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' s2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp: In constructor 'librealsense::ds5_color::ds5_color(std::shared_ptr, const librealsense::platform::backend_device_group&)': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:45:53: warning: base 'librealsense::ds5_device' will be initialized after [-Wreorder] 45 | _color_stream(new stream(RS2_STREAM_COLOR)) | ^ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:45:53: warning: base 'librealsense::device' [-Wreorder] /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:42:5: warning: when initialized here [-Wreorder] 42 | ds5_color::ds5_color(std::shared_ptr ctx, | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-color.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 12%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-motion.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ds5/ds5-motion.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp: In member function 'std::shared_ptr librealsense::ds5_motion::create_hid_device(std::shared_ptr, const std::vector&, const librealsense::firmware_version&)': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:218:14: warning: unused variable 'enable_imu_correction' [-Wunused-variable] 218 | bool enable_imu_correction = false; | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 15%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/advanced_mode/presets.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ds5/advanced_mode/presets.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/presets.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 13%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-device.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ds5/ds5-device.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (simake[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' zeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:16: /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h: In constructor 'librealsense::ds5_auto_exposure_roi_method::ds5_auto_exposure_roi_method(const librealsense::hw_monitor&, librealsense::ds::fw_cmd)': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:29:27: warning: 'librealsense::ds5_auto_exposure_roi_method::_hw_monitor' will be initialized after [-Wreorder] 29 | const hw_monitor& _hw_monitor; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:28:26: warning: 'const librealsense::ds::fw_cmd librealsense::ds5_auto_exposure_roi_method::_cmd' [-Wreorder] 28 | const ds::fw_cmd _cmd; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:72:5: warning: when initialized here [-Wreorder] 72 | ds5_auto_exposure_roi_method::ds5_auto_exposure_roi_method( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp: In function 'void librealsense::update_flash_section(std::shared_ptr, const std::vector&, uint32_t, uint32_t, librealsense::update_progress_callback_ptr, float, float)': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:193:60: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 193 | for (int sector_index = first_sector; sector_index < sector_count; sector_index++) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:201:31: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 201 | for (int i = 0; i < ds::FLASH_SECTOR_SIZE; ) | ~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp: In constructor 'librealsense::ds5u_device::ds5u_device(std::shared_ptr, const librealsense::platform::backend_device_group&)': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:946:52: warning: base 'librealsense::ds5_device' will be initialized after [-Wreorder] 946 | : ds5_device(ctx, group), device(ctx, group) | ^ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:946:52: warning: base 'librealsense::device' [-Wreorder] /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:944:5: warning: when initialized here [-Wreorder] 944 | ds5u_device::ds5u_device(std::shared_ptr ctx, | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 13%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-active.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ds5/ds5-active.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 14%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-fw-update-device.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ds5/ds5-fw-update-device.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 13%] Linking CXX shared library pybackend2.cpython-39-riscv64-linux-gnu.so cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/cmake -E cmake_link_script CMakeFiles/pybackend2.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,pybackend2.cpython-39-riscv64-linux-gnu.so.2 -o pybackend2.cpython-39-riscv64-linux-gnu.so.2.33.1 CMakeFiles/pybackend2.dir/pybackend.cpp.o CMakeFiles/pybackend2.dir/pybackend_extras.cpp.o CMakeFiles/pybackend2.dir/__/__/src/types.cpp.o CMakeFiles/pybackend2.dir/__/__/src/log.cpp.o CMakeFiles/pybackend2.dir/__/__/third-party/easyloggingpp/src/easylogging++.cc.o CMakeFiles/pybackend2.dir/__/__/src/backend.cpp.o CMakeFiles/pybackend2.dir/__/__/src/libusb/interface-libusb.cpp.o CMakeFiles/pybackend2.dir/__/__/src/libusb/device-libusb.cpp.o CMakeFiles/pybackend2.dir/__/__/src/libusb/messenger-libusb.cpp.o CMakeFiles/pybackend2.dir/__/__/src/libusb/enumerator-libusb.cpp.o CMakeFiles/pybackend2.dir/__/__/src/libusb/request-libusb.cpp.o CMakeFiles/pybackend2.dir/__/__/src/linux/backend-v4l2.cpp.o CMakeFiles/pybackend2.dir/__/__/src/linux/backend-hid.cpp.o -flto -lusb-1.0 cd /builddir/build/BUILD/librealsense-2.33.1/build/wrappers/python && /usr/bin/cmake -E cmake_symlink_library pybackend2.cpython-39-riscv64-linux-gnu.so.2.33.1 pybackend2.cpython-39-riscv64-linux-gnu.so.2 pybackend2.cpython-39-riscv64-linux-gnu.so make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[1]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 16%] Built target pybackend2 make[1]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 16%] Building CXX object CMakeFiles/realsense2.dir/src/ivcam/ivcam-private.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ivcam/ivcam-private.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/ivcam-private.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 14%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/advanced_mode/rs_advanced_mode.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ds5/advanced_mode/rs_advanced_mode.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/api.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/api.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/rs_advanced_mode.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 14%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-factory.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ds5/ds5-factory.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp: In member function 'virtual bool librealsense::rs405_device::contradicts(const librealsense::stream_profile_interface*, const std::vector&) const': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:96:22: warning: unused variable 'vid_a' [-Wunused-variable] 96 | if (auto vid_a = dynamic_cast(a)) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp: In member function 'virtual bool librealsense::rs416_device::contradicts(const librealsense::stream_profile_interface*, const std::vector&) const': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:214:22: warning: unused variable 'vid_a' [-Wunused-variable] 214 | if (auto vid_a = dynamic_cast(a)) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp: In member function 'virtual bool librealsense::rs416_rgb_device::contradicts(const librealsense::stream_profile_interface*, const std::vector&) const': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:267:22: warning: unused variable 'vid_a' [-Wunused-variable] 267 | if (auto vid_a = dynamic_cast(a)) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp: In constructor 'librealsense::rs465_device::rs465_device(std::shared_ptr, const librealsense::platform::backend_device_group&, bool)': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:778:79: warning: base 'librealsense::ds5_motion' will be initialized after [-Wreorder] 778 | ds5_advanced_mode_base(ds5_device::_hw_monitor, get_depth_sensor()) {} | ^ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:778:79: warning: base 'librealsense::ds5_nonmonochrome' [-Wreorder] /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:769:9: warning: when initialized here [-Wreorder] 769 | rs465_device(std::shared_ptr ctx, | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 16%] Building CXX object CMakeFiles/realsense2.dir/src/ivcam/sr300-fw-update-device.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ivcam/sr300-fw-update-device.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 17%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-private.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/l500/l500-private.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h: In constructor 'librealsense::ivcam2::l500_temperature_options::l500_temperature_options(librealsense::hw_monitor*, rs2_option)': /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:228:25: warning: 'librealsense::ivcam2::l500_temperature_options::_hw_monitor' will be initialized after [-Wreorder] 228 | hw_monitor* _hw_monitor; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:227:24: warning: 'rs2_option librealsense::ivcam2::l500_temperature_options::_option' [-Wreorder] 227 | rs2_option _option; | ^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp:100:9: warning: when initialized here [-Wreorder] 100 | l500_temperature_options::l500_temperature_options(hw_monitor* hw_monitor, rs2_option opt) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 15%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/ds5-auto-calibration.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ds5/ds5-auto-calibration.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/auto-calibrated-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/auto-calibrated-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/auto-calibrated-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/auto-calibrated-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/../core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/../core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/../core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/../core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/../core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp: In member function 'virtual std::vector librealsense::auto_calibrated::get_calibration_table() const': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:452:14: warning: unused variable 'table' [-Wunused-variable] 452 | auto table = (uint8_t*)(calib.data() + sizeof(table_header)); | ^~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/auto-calibrated-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/auto-calibrated-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/auto-calibrated-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp: In member function 'std::shared_ptr librealsense::auto_calibrated::change_preset()': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-auto-calibration.cpp:340:33: warning: 'old_preset' may be used uninitialized in this function [-Wmaybe-uninitialized] 340 | rs2_rs400_visual_preset old_preset; | ^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 15%] Building CXX object CMakeFiles/realsense2.dir/src/ds5/advanced_mode/advanced_mode.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ds5/advanced_mode/advanced_mode.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-active.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp: In member function 'virtual const char* librealsense::advanced_mode_preset_option::get_value_description(float) const': /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:918:21: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 918 | catch (std::out_of_range) | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/advanced_mode/advanced_mode.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 17%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-depth.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/l500/l500-depth.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:15: /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h: In constructor 'librealsense::zero_order_options::zero_order_options()': /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:46:33: warning: 'librealsense::zero_order_options::threshold_scale' will be initialized after [-Wreorder] 46 | int threshold_scale; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:41:33: warning: 'bool librealsense::zero_order_options::read_baseline' [-Wreorder] 41 | bool read_baseline; | ^~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:24:9: warning: when initialized here [-Wreorder] 24 | zero_order_options(): | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:305:30: warning: unused variable 'vs' [-Wunused-variable] 305 | auto vs = dynamic_cast(sp.get()); | ^~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 17%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-color.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/l500/l500-color.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 18%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-motion.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/l500/l500-motion.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-color.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-motion.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 16%] Building CXX object CMakeFiles/realsense2.dir/src/ivcam/sr300.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/ivcam/sr300.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/ivcam/sr300.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 19%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-fw-update-device.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/l500/l500-fw-update-device.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 18%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-device.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/l500/l500-device.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:20: /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h: In constructor 'librealsense::zero_order_options::zero_order_options()': /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:46:33: warning: 'librealsense::zero_order_options::threshold_scale' will be initialized after [-Wreorder] 46 | int threshold_scale; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:41:33: warning: 'bool librealsense::zero_order_options::read_baseline' [-Wreorder] 41 | bool read_baseline; | ^~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:24:9: warning: when initialized here [-Wreorder] 24 | zero_order_options(): | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp: In member function 'void librealsense::l500_device::update_flash_section(std::shared_ptr, const std::vector&, uint32_t, uint32_t, librealsense::update_progress_callback_ptr, float, float)': /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:363:31: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 363 | for (int i = 0; i < ivcam2::FLASH_SECTOR_SIZE; ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h: In instantiation of 'T librealsense::hw_monitor::get_gvd_field(const std::vector&, size_t) [with T = bool; size_t = long unsigned int]': /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:93:88: required from here /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:336:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 336 | for (int i = 0; i < sizeof(T); i++) | ~~^~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 18%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-factory.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/l500/l500-factory.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-factory.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 19%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-serializable.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/l500/l500-serializable.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.cpp In file included from /builddir/build/BUILD/librealsense-2.33.1/src/serializable-interface.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/serializable-interface.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/serializable-interface.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/serializable-interface.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.cpp:4:make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/serializable-interface.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/serializable-interface.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/serializable-interface.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-serializable.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 22%] Building CXX object CMakeFiles/realsense2.dir/src/mock/sql.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/mock/sql.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/mock/sql.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 19%] Building CXX object CMakeFiles/realsense2.dir/src/l500/l500-options.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/l500/l500-options.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h: In constructor 'librealsense::l500_hw_options::l500_hw_options(librealsense::hw_monitor*, librealsense::l500_control, librealsense::option*)': /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:51:21: warning: 'librealsense::l500_hw_options::_hw_monitor' will be initialized after [-Wreorder] 51 | hw_monitor* _hw_monitor; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:50:22: warning: 'librealsense::l500_control librealsense::l500_hw_options::_type' [-Wreorder] 50 | l500_control _type; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:29:5: warning: when initialized here [-Wreorder] 29 | l500_hw_options::l500_hw_options(hw_monitor* hw_monitor, l500_control type, option* resolution) | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-options.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 22%] Building CXX object CMakeFiles/realsense2.dir/src/proc/sse/sse-align.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/sse/sse-align.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-align.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 20%] Building CXX object CMakeFiles/realsense2.dir/src/media/record/record_sensor.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/media/record/record_sensor.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/api.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h: In constructor 'librealsense::record_sensor::record_sensor(librealsense::device_interface&, librealsense::sensor_interface&)': /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:75:14: warning: 'librealsense::record_sensor::m_is_sensor_hooked' will be initialized after [-Wreorder] 75 | bool m_is_sensor_hooked; | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:73:13: warning: 'int librealsense::record_sensor::m_before_start_callback_token' [-Wreorder] 73 | int m_before_start_callback_token; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:11:1: warning: when initialized here [-Wreorder] 11 | librealsense::record_sensor::record_sensor( device_interface& device, | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/api.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/api.h:108:17: warning: 'void librealsense::translate_exception(const char*, std::string, rs2_error**)' defined but not used [-Wunused-function] 108 | static void translate_exception(const char * name, std::string args, rs2_error ** error) | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 20%] Building CXX object CMakeFiles/realsense2.dir/src/media/record/record_device.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/media/record/record_device.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/advanced_mode.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.h: In constructor 'librealsense::record_device::record_device(std::shared_ptr, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.h:74:14: warning: 'librealsense::record_device::m_is_recording' will be initialized after [-Wreorder] 74 | bool m_is_recording; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.h:70:54: warning: 'std::chrono::_V2::system_clock::duration librealsense::record_device::m_record_pause_time' [-Wreorder] 70 | std::chrono::high_resolution_clock::duration m_record_pause_time; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:12:1: warning: when initialized here [-Wreorder] 12 | librealsense::record_device::record_device(std::shared_ptr device, | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/record/record_device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 21%] Building CXX object CMakeFiles/realsense2.dir/src/media/playback/playback_sensor.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/media/playback/playback_sensor.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rmake[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' s2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/aux_/na_assert.hpp:23, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/arg.hpp:25, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/placeholders.hpp:24, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/iterator/iterator_categories.hpp:17, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/iterator/iterator_facade.hpp:14, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:39, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp: At global scope: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_::************ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h: In function 'bool librealsense::legacy_file_format::info_from_string(const string&, rs2_camera_info&)': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:642:26: warning: unused variable 'number_of_hexadecimal_values_in_a_guid' [-Wunused-variable] 642 | const size_t number_of_hexadecimal_values_in_a_guid = 11; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp: In member function 'void librealsense::playback_sensor::register_sensor_options(const librealsense::device_serializer::sensor_snapshot&)': /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:247:23: warning: unused variable 'value' [-Wunused-variable] 247 | float value = option.query(); | ^~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_sensor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 20%] Building CXX object CMakeFiles/realsense2.dir/src/media/playback/playback_device.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/media/playback/playback_device.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/aux_/na_assert.hpp:23, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/arg.hpp:25, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/placeholders.hpp:24, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/iterator/iterator_categories.hpp:17, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/iterator/iterator_facade.hpp:14, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:39, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp: At global scope: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_::************ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h: In function 'bool librealsense::legacy_file_format::info_from_string(const string&, rs2_camera_info&)': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:642:26: warning: unused variable 'number_of_hexadecimal_values_in_a_guid' [-Wunused-variable] 642 | const size_t number_of_hexadecimal_values_in_a_guid = 11; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp: In member function 'std::shared_ptr librealsense::playback_device::get_stream(const std::map >&, librealsense::device_serializer::stream_identifier)': /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:129:117: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 129 | if(stream_profile->get_stream_type() == stream_id.stream_type && stream_profile->get_stream_index() == stream_id.stream_index) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/roi.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 23%] Building CXX object CMakeFiles/realsense2.dir/src/proc/sse/sse-pointcloud.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/sse/sse-pointcloud.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_sensor.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_device.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_record_playback.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_context.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/rs.hpp:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:13: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:13: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp: In member function 'virtual void librealsense::pointcloud_sse::get_texture_map(rs2::points, const librealsense::float3*, unsigned int, unsigned int, const rs2_intrinsics&, const rs2_extrinsics&, librealsense::float2*)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:150:14: warning: unused variable 'tex_ptr' [-Wunused-variable] 150 | auto tex_ptr = (float2*)output.get_texture_coordinates(); | ^~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/sse/sse-pointcloud.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/rsutil.h:170:13: warning: 'void rs2_project_color_pixel_to_depth_pixel(float*, const uint16_t*, float, float, float, const rs2_intrinsics*, const rs2_intrinsics*, const rs2_extrinsics*, const rs2_extrinsics*, const float*)' defined but not used [-Wunused-function] 170 | static void rs2_project_color_pixel_to_depth_pixel(float to_pixel[2], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/rsutil.h:134:13: warning: 'void rs2_fov(const rs2_intrinsics*, float*)' defined but not used [-Wunused-function] 134 | static void rs2_fov(const struct rs2_intrinsics * intrin, float to_fov[2]) | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 23%] Building CXX object CMakeFiles/realsense2.dir/src/proc/processing-blocks-factory.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/processing-blocks-factory.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 22%] Building CXX object CMakeFiles/realsense2.dir/src/mock/recorder.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/mock/recorder.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::recording::recording(std::shared_ptr, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:313:43: warning: 'librealsense::platform::recording::_ts' will be initialized after [-Wreorder] 313 | std::shared_ptr _ts; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:310:54: warning: 'std::shared_ptr librealsense::platform::recording::_watcher' [-Wreorder] 310 | std::shared_ptr _watcher; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:148:9: warning: when initialized here [-Wreorder] 148 | recording::recording(std::shared_ptr ts, std::shared_ptr watcher) | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp: In member function 'virtual void librealsense::platform::playback_uvc_device::stream_on(std::function)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:1244:20: warning: unused variable 'c' [-Wunused-variable] 1244 | auto&& c = _rec->find_call(call_type::uvc_play, _entity_id); | ^ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp: In member function 'virtual void librealsense::platform::playback_uvc_device::set_power_state(librealsense::platform::power_state)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:1279:20: warning: unused variable 'c' [-Wunused-variable] 1279 | auto&& c = _rec->find_call(call_type::uvc_set_power_state, _entity_id, [&](const call& call_found) | ^ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp: In member function 'virtual bool librealsense::platform::playback_uvc_device::get_xu(const librealsense::platform::extension_unit&, uint8_t, uint8_t*, int) const': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:1318:36: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1318 | if (stored_data.size() != len) | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 23%] Building CXX object CMakeFiles/realsense2.dir/src/proc/align.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/align.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/video.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/video.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:23: warning: ignoring '#pragma omp parallel' [-Wunknown-pragmas] 23 | #pragma omp parallel for schedule(dynamic) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_sensor.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/video.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/video.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:12: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:12: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp: In member function 'std::shared_ptr librealsense::align::create_aligned_profile(rs2::video_stream_profile&, rs2::video_stream_profile&)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:159:18: warning: unused variable 'original_video_profile' [-Wunused-variable] 159 | if (auto original_video_profile = As(original_profile.get()->profile)) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp: In member function 'virtual bool librealsense::align::should_process(const rs2::frame&)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:189:20: warning: unused variable 'stream' [-Wunused-variable] 189 | rs2_stream stream = profile.stream_type(); | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:190:20: warning: unused variable 'format' [-Wunused-variable] 190 | rs2_format format = profile.format(); | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:191:13: warning: unused variable 'index' [-Wunused-variable] 191 | int index = profile.stream_index(); | ^~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/video.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/video.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/video.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/rsutil.h:170:13: warning: 'void rs2_project_color_pixel_to_depth_pixel(float*, const uint16_t*, float, float, float, const rs2_intrinsics*, const rs2_intrinsics*, const rs2_extrinsics*, const rs2_extrinsics*, const float*)' defined but not used [-Wunused-function] 170 | static void rs2_project_color_pixel_to_depth_pixel(float to_pixel[2], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/rsutil.h:134:13: warning: 'void rs2_fov(const rs2_intrinsics*, float*)' defined but not used [-Wunused-function] 134 | static void rs2_fov(const struct rs2_intrinsics * intrin, float to_fov[2]) | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 21%] Building CXX object CMakeFiles/realsense2.dir/src/media/ros/ros_writer.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/media/ros/ros_writer.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:12: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h: In constructor 'librealsense::zero_order_options::zero_order_options()': /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:46:33: warning: 'librealsense::zero_order_options::threshold_scale' will be initialized after [-Wreorder] 46 | int threshold_scale; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:41:33: warning: 'bool librealsense::zero_order_options::read_baseline' [-Wreorder] 41 | bool read_baseline; | ^~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:24:9: warning: when initialized here [-Wreorder] 24 | zero_order_options(): | ^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:26, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:12: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:26, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:12: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:12: /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h: In function 'bool librealsense::legacy_file_format::info_from_string(const string&, rs2_camera_info&)': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:642:26: warning: unused variable 'number_of_hexadecimal_values_in_a_guid' [-Wunused-variable] 642 | const size_t number_of_hexadecimal_values_in_a_guid = 11; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp: In member function 'void librealsense::ros_writer::write_pose_frame(const librealsense::device_serializer::stream_identifier&, const nanoseconds&, librealsense::frame_holder&&)': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:259:14: warning: variable 'rotation' set but not used [-Wunused-but-set-variable] 259 | auto rotation = pose->get_rotation(); | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp: In member function 'void librealsense::ros_writer::write_sensor_processing_blocks(librealsense::device_serializer::sensor_identifier, const nanoseconds&, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.cpp:573:77: warning: 'ext' may be used uninitialized in this function [-Wmaybe-uninitialized] 573 | processing_block_msg.data = rs2_extension_type_to_string(ext); | ^ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 24%] Building CXX object CMakeFiles/realsense2.dir/src/proc/occlusion-filter.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/occlusion-filter.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_sensor.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_device.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_record_playback.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_context.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/rs.hpp:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp: In member function 'void librealsense::occlusion_filter::monotonic_heuristic_invalidation(librealsense::float3*, librealsense::float2*, const std::vector&) const': /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:56:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 56 | for (size_t y = 0; y < points_height; ++y) | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:62:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 62 | for (size_t x = 0; x < points_width; ++x) | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/occlusion-filter.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/rsutil.h:170:13: warning: 'void rs2_project_color_pixel_to_depth_pixel(float*, const uint16_t*, float, float, float, const rs2_intrinsics*, const rs2_intrinsics*, const rs2_extrinsics*, const rs2_extrinsics*, const float*)' defined but not used [-Wunused-function] 170 | static void rs2_project_color_pixel_to_depth_pixel(float to_pixel[2], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/rsutil.h:134:13: warning: 'void rs2_fov(const rs2_intrinsics*, float*)' defined but not used [-Wunused-function] 134 | static void rs2_fov(const struct rs2_intrinsics * intrin, float to_fov[2]) | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 24%] Building CXX object CMakeFiles/realsense2.dir/src/proc/colorizer.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/colorizer.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_sensor.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.h: In constructor 'librealsense::colorizer::colorizer(const char*)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.h:166:29: warning: 'librealsense::colorizer::_target_stream_profile' will be initialized after [-Wreorder] 166 | rs2::stream_profile _target_stream_profile; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.h:162:26: warning: 'std::vector librealsense::colorizer::_histogram' [-Wreorder] 162 | std::vector _histogram; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:141:5: warning: when initialized here [-Wreorder] 141 | colorizer::colorizer(const char* name) | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/colorizer.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 24%] Building CXX object CMakeFiles/realsense2.dir/src/proc/pointcloud.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/pointcloud.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_sensor.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_device.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_record_playback.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_context.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/rs.hpp:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:13: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:13: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp: In member function 'void librealsense::pointcloud::inspect_depth_frame(const rs2::frame&)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:80:14: warning: variable 'found_depth_intrinsics' set but not used [-Wunused-but-set-variable] 80 | bool found_depth_intrinsics = false; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:81:14: warning: variable 'found_depth_units' set but not used [-Wunused-but-set-variable] 81 | bool found_depth_units = false; | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/pointcloud.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/rsutil.h:170:13: warning: 'void rs2_project_color_pixel_to_depth_pixel(float*, const uint16_t*, float, float, float, const rs2_intrinsics*, const rs2_intrinsics*, const rs2_extrinsics*, const rs2_extrinsics*, const float*)' defined but not used [-Wunused-function] 170 | static void rs2_project_color_pixel_to_depth_pixel(float to_pixel[2], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/rsutil.h:134:13: warning: 'void rs2_fov(const rs2_intrinsics*, float*)' defined but not used [-Wunused-function] 134 | static void rs2_fov(const struct rs2_intrinsics * intrin, float to_fov[2]) | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 25%] Building CXX object CMakeFiles/realsense2.dir/src/proc/syncer-processing-block.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/syncer-processing-block.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:21:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 21 | for (int i = 0; i < composite->get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = librealsense::frame_holder]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:148:83: required from 'single_consumer_frame_queue::single_consumer_frame_queue(unsigned int) [with T = librealsense::frame_holder]' /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:43:55: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/syncer-processing-block.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 25%] Building CXX object CMakeFiles/realsense2.dir/src/proc/synthetic-stream.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/synthetic-stream.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp: In member function 'librealsense::processing_block& librealsense::composite_processing_block::get(rs2_option)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:503:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 503 | for (i = 0; i < _processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In constructor 'librealsense::interleaved_functional_processing_block::interleaved_functional_processing_block(const char*, rs2_format, rs2_format, rs2_stream, rs2_extension, int, rs2_format, rs2_stream, rs2_extension, int)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:192:13: warning: 'librealsense::interleaved_functional_processing_block::_left_target_profile_idx' will be initialized after [-Wreorder] 192 | int _left_target_profile_idx = 1; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:187:20: warning: 'rs2_format librealsense::interleaved_functional_processing_block::_right_target_format' [-Wreorder] 187 | rs2_format _right_target_format; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:553:5: warning: when initialized here [-Wreorder] 553 | interleaved_functional_processing_block::interleaved_functional_processing_block(const char* name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 25%] Building CXX object CMakeFiles/realsense2.dir/src/proc/decimation-filter.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/decimation-filter.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_sensor.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:10: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp: In member function 'void librealsense::decimation_filter::decimate_others(rs2_format, const void*, void*, size_t, size_t, size_t)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:513:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 513 | for (int n = 0; n < scale; ++n) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:515:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 515 | for (int m = 0; m < scale; ++m) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:524:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 524 | for (int n = 0; n < scale; ++n) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:526:43: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 526 | for (int m = 0; m < s2; ++m) | ~~^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:538:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 538 | for (int n = 0; n < scale; ++n) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:540:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 540 | for (int m = 0; m < scale; ++m) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:549:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 549 | for (int n = 0; n < scale; ++n) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:551:43: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 551 | for (int m = 0; m < s2; ++m) | ~~^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:599:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 599 | for (int n = 0; n < scale; ++n) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:601:43: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 601 | for (int m = 0; m < s2; ++m) | ~~^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:613:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 613 | for (int n = 0; n < scale; ++n) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:615:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 615 | for (int m = 0; m < scale; ++m) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:624:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 624 | for (int n = 0; n < scale; ++n) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:626:43: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 626 | for (int m = 0; m < s2; ++m) | ~~^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:638:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 638 | for (int n = 0; n < scale; ++n) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:640:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 640 | for (int m = 0; m < scale; ++m) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:683:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 683 | for (int n = 0; n < scale; ++n) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:685:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 685 | for (int m = 0; m < scale; ++m) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:730:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 730 | for (int n = 0; n < scale; ++n) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:732:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 732 | for (int m = 0; m < scale; ++m) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:776:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 776 | for (int n = 0; n < scale; ++n) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:778:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 778 | for (int m = 0; m < scale; ++m) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:811:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 811 | for (int n = 0; n < scale; ++n) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:813:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 813 | for (int m = 0; m < scale; ++m) | ~~^~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/decimation-filter.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 26%] Building CXX object CMakeFiles/realsense2.dir/src/proc/spatial-filter.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/spatial-filter.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_sensor.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' ~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp: In member function 'void librealsense::spatial_filter::recursive_filter_horizontal_fp(void*, float, float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:235:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 235 | for (v = 0; v < _height;) { | ~~^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:244:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 244 | if (!(*(int*)&previousInnovation > 0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:250:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 250 | if (*(int*)&innovation > 0) { | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:284:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 284 | if (*(int*)&innovation > 0) { // switch to CurrentlyValid state | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:302:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 302 | if (!(*(int*)&previousInnovation > 0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:307:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 307 | if (*(int*)&innovation > 0) { | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:341:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 341 | if (*(int*)&innovation > 0) { // switch to CurrentlyValid state | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp: In member function 'void librealsense::spatial_filter::recursive_filter_vertical_fp(void*, float, float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:365:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 365 | for (u = 0; u < _width;) { | ~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:375:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 375 | if (!(*(int*)&previousInnovation > 0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:381:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 381 | if (*(int*)&innovation > 0) { | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:415:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 415 | if (*(int*)&innovation > 0) { // switch to CurrentlyValid state | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:433:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 433 | if (!(*(int*)&previousInnovation > 0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:438:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 438 | if (*(int*)&innovation > 0) { | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:472:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 472 | if (*(int*)&innovation > 0) { // switch to CurrentlyValid state | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:12: /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.h: In instantiation of 'void librealsense::spatial_filter::intertial_holes_fill(T*) [with T = float]': /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.h:52:40: required from 'void librealsense::spatial_filter::dxf_smooth(void*, float, float, int) [with T = float]' /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:159:132: required from here /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.h:229:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 229 | for (int j = 0; j < _height; ++j) | ~~^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.h: In instantiation of 'void librealsense::spatial_filter::intertial_holes_fill(T*) [with T = short unsigned int]': /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.h:52:40: required from 'void librealsense::spatial_filter::dxf_smooth(void*, float, float, int) [with T = short unsigned int]' /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:161:135: required from here /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.h:229:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/spatial-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 26%] Building CXX object CMakeFiles/realsense2.dir/src/proc/temporal-filter.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/temporal-filter.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_sensor.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:11: /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.h: In instantiation of 'void librealsense::temporal_filter::temp_jw_smooth(void*, void*, uint8_t*) [with T = float; uint8_t = unsigned char]': /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:118:105: required from here /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.h:27:24: warning: unused variable 'fp' [-Wunused-variable] 27 | const bool fp = (std::is_floating_point::value); | ^~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.h: In instantiation of 'void librealsense::temporal_filter::temp_jw_smooth(void*, void*, uint8_t*) [with T = short unsigned int; uint8_t = unsigned char]': /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:120:108: required from here /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.h:27:24: warning: unused variable 'fp' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/temporal-filter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 27%] Building CXX object CMakeFiles/realsense2.dir/src/proc/y8i-to-y8y8.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/y8i-to-y8y8.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y8i-to-y8y8.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 26%] Building CXX object CMakeFiles/realsense2.dir/src/proc/hole-filling-filter.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/hole-filling-filter.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_sensor.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:9: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:12: /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h: In instantiation of 'void librealsense::hole_filling_filter::apply_hole_filling(void*) [with T = float]': /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:64:72: required from here /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:30:18: warning: unused variable 'fp' [-Wunused-variable] 30 | bool fp = (std::is_floating_point::value); | ^~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h: In instantiation of 'void librealsense::hole_filling_filter::apply_hole_filling(void*) [with T = short unsigned int]': /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:66:75: required from here /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:30:18: warning: unused variable 'fp' [-Wunused-variable] /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h: In instantiation of 'void librealsense::hole_filling_filter::holes_fill_left(T*, size_t, size_t, size_t) [with T = float; size_t = long unsigned int]': /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:37:32: required from 'void librealsense::hole_filling_filter::apply_hole_filling(void*) [with T = float]' /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:64:72: required from here /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:61:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 61 | for (int j = 0; j < height; ++j) | ~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:64:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 64 | for (int i = 1; i < width; ++i) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h: In instantiation of 'void librealsense::hole_filling_filter::holes_fill_farest(T*, size_t, size_t, size_t) [with T = float; size_t = long unsigned int]': /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:40:34: required from 'void librealsense::hole_filling_filter::apply_hole_filling(void*) [with T = float]' /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:64:72: required from here /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:83:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 83 | for (int j = 1; j < height - 1; ++j) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:86:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 86 | for (int i = 1; i < width; ++i) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h: In instantiation of 'void librealsense::hole_filling_filter::holes_fill_nearest(T*, size_t, size_t, size_t) [with T = float; size_t = long unsigned int]': /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:43:35: required from 'void librealsense::hole_filling_filter::apply_hole_filling(void*) [with T = float]' /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:64:72: required from here /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:126:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 126 | for (int j = 1; j < height - 1; ++j) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:129:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 129 | for (int i = 1; i < width; ++i) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h: In instantiation of 'void librealsense::hole_filling_filter::holes_fill_left(T*, size_t, size_t, size_t) [with T = short unsigned int; size_t = long unsigned int]': /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:37:32: required from 'void librealsense::hole_filling_filter::apply_hole_filling(void*) [with T = short unsigned int]' /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:66:75: required from here /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:61:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 61 | for (int j = 0; j < height; ++j) | ~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:64:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 64 | for (int i = 1; i < width; ++i) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h: In instantiation of 'void librealsense::hole_filling_filter::holes_fill_farest(T*, size_t, size_t, size_t) [with T = short unsigned int; size_t = long unsigned int]': /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:40:34: required from 'void librealsense::hole_filling_filter::apply_hole_filling(void*) [with T = short unsigned int]' /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:66:75: required from here /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:83:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 83 | for (int j = 1; j < height - 1; ++j) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:86:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 86 | for (int i = 1; i < width; ++i) | ~~^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h: In instantiation of 'void librealsense::hole_filling_filter::holes_fill_nearest(T*, size_t, size_t, size_t) [with T = short unsigned int; size_t = long unsigned int]': /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:43:35: required from 'void librealsense::hole_filling_filter::apply_hole_filling(void*) [with T = short unsigned int]' /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:66:75: required from here /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:126:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 126 | for (int j = 1; j < height - 1; ++j) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.h:129:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 129 | for (int i = 1; i < width; ++i) | ~~^~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/hole-filling-filter.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 21%] Building CXX object CMakeFiles/realsense2.dir/src/media/ros/ros_reader.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/media/ros/ros_reader.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/aux_/na_assert.hpp:23, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/arg.hpp:25, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/placeholders.hpp:24, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/iterator/iterator_categories.hpp:17, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/iterator/iterator_facade.hpp:14, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:39, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp: At global scope: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] 188 | failed ************ (Pred::************ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] 193 | failed ************ (boost::mpl::not_::************ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:25, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:25, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:26, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h: In function 'bool librealsense::legacy_file_format::info_from_string(const string&, rs2_camera_info&)': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:642:26: warning: unused variable 'number_of_hexadecimal_values_in_a_guid' [-Wunused-variable] 642 | const size_t number_of_hexadecimal_values_in_a_guid = 11; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:15: /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h: In constructor 'librealsense::zero_order_options::zero_order_options()': /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:46:33: warning: 'librealsense::zero_order_options::threshold_scale' will be initialized after [-Wreorder] 46 | int threshold_scale; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:41:33: warning: 'bool librealsense::zero_order_options::read_baseline' [-Wreorder] 41 | bool read_baseline; | ^~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:24:9: warning: when initialized here [-Wreorder] 24 | zero_order_options(): | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp: In member function 'librealsense::frame_holder librealsense::ros_reader::create_motion_sample(const rosbag::MessageInstance&) const': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:512:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 512 | return std::move(fh); | ~~~~~~~~~^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:512:25: note: remove 'std::move' call /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp: In member function 'void librealsense::ros_reader::update_l500_depth_sensor(const rosbag::Bag&, uint32_t, const nanoseconds&, uint32_t, librealsense::device_serializer::snapshot_collection&, uint32_t, std::string, std::string)': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:849:14: warning: unused variable 'depth_to_disparity' [-Wunused-variable] 849 | auto depth_to_disparity = true; | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp: In member function 'librealsense::stream_profiles librealsense::ros_reader::read_legacy_stream_info(uint32_t) const': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:1280:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::match_results<__gnu_cxx::__normal_iterator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1280 | for (int i = 1; i < sm.size(); i++) | ~~^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp: In static member function 'static std::pair > librealsense::ros_reader::create_option(const rosbag::Bag&, const rosbag::MessageInstance&)': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:1390:46: warning: variable 'sensor_id' set but not used [-Wunused-but-set-variable] 1390 | device_serializer::sensor_identifier sensor_id = ros_topic::get_sensor_identifier(value_message_instance.getTopic()); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/detail/maybe_include.hpp:18, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/detail/function_iterate.hpp:14, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/preprocessor/iteration/detail/iter/forward1.hpp:52, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function.hpp:64, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp: In instantiation of 'void boost::detail::function::basic_vtable1::assign_functor(FunctionObj, boost::detail::function::function_buffer&, mpl_::true_) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; mpl_::true_ = mpl_::bool_]': /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:608:27: required from 'bool boost::detail::function::basic_vtable1::assign_to(FunctionObj, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) const [with FunctionObj = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:498:27: required from 'bool boost::detail::function::basic_vtable1::assign_to(F, boost::detail::function::function_buffer&) const [with F = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:942:34: required from 'void boost::function1::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:728:22: required from 'boost::function1::function1(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c::value>::value, int>::type = int]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16: required from 'boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c::value>::value, int>::type = int]' /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:109:93: required from here /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:572:16: warning: placement new constructing an object of type 'rosbag::TopicQuery' and size '24' in a region of type 'char' and size '1' [-Wplacement-new=] 572 | new (reinterpret_cast(&functor.data)) FunctionObj(f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/detail/prologue.hpp:17, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function.hpp:24, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include/ros/message_event.h:42, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:50, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/message_instance.h:150, from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/view.h:41, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_base.hpp: In instantiation of 'static void boost::detail::function::functor_manager_common::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]': /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_base.hpp:364:56: required from 'static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = rosbag::TopicQuery; mpl_::true_ = mpl_::bool_]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_base.hpp:412:18: required from 'static void boost::detail::function::functor_manager::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = rosbag::TopicQuery]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_base.hpp:440:20: required from 'static void boost::detail::function::functor_manager::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = rosbag::TopicQuery]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:940:13: required from 'void boost::function1::assign_to(Functor) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:728:22: required from 'boost::function1::function1(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c::value>::value, int>::type = int]' /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_template.hpp:1077:16: required from 'boost::function::function(Functor, typename boost::enable_if_c::value>::value, int>::type) [with Functor = rosbag::TopicQuery; R = bool; T0 = const rosbag::ConnectionInfo*; typename boost::enable_if_c::value>::value, int>::type = int]' /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:109:93: required from here /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost/boost/function/function_base.hpp:318:18: warning: placement new constructing an object of type 'boost::detail::function::functor_manager_common::functor_type' {aka 'rosbag::TopicQuery'} and size '24' in a region of type 'char' and size '1' [-Wplacement-new=] 318 | new (reinterpret_cast(&out_buffer.data)) functor_type(*in_functor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h: In static member function 'static rs2_stream librealsense::ros_topic::get_stream_type(const string&)': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:214:20: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] 214 | return type; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp: In member function 'std::shared_ptr librealsense::ros_reader::read_info_snapshot(const string&) const': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:1128:37: warning: 'info' may be used uninitialized in this function [-Wmaybe-uninitialized] 1128 | infos->register_info(info, info_msg->value); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp: In static member function 'static std::shared_ptr librealsense::ros_reader::create_processing_block(const rosbag::MessageInstance&, bool&, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:1403:23: warning: 'id' may be used uninitialized in this function [-Wmaybe-uninitialized] 1403 | rs2_extension id; | ^~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In static member function 'static librealsense::notification librealsense::ros_reader::create_notification(const rosbag::Bag&, const rosbag::MessageInstance&)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1048:89: warning: 'severity' may be used uninitialized in this function [-Wmaybe-uninitialized] 1048 | :category(category), type(type), severity(severity), description(description) | ^ /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:1447:26: note: 'severity' was declared here 1447 | rs2_log_severity severity; | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1048:89: warning: 'category' may be used uninitialized in this function [-Wmaybe-uninitialized] 1048 | :category(category), type(type), severity(severity), description(description) | ^ /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:1446:35: note: 'category' was declared here 1446 | rs2_notification_category category; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp: In member function 'librealsense::frame_holder librealsense::ros_reader::create_pose_sample(const rosbag::MessageInstance&) const': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_reader.cpp:621:35: warning: 'timestamp_ms.std::chrono::duration >::__r' may be used uninitialized in this function [-Wmaybe-uninitialized] 621 | additional_data.timestamp = timestamp_ms.count(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 27%] Building CXX object CMakeFiles/realsense2.dir/src/proc/disparity-transform.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/disparity-transform.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_sensor.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:12: /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.h: In instantiation of 'void librealsense::disparity_transform::convert(const void*, void*) [with Tin = short unsigned int; Tout = float]': /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:76:91: required from here /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.h:38:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 38 | for (auto i = 0; i < _height; i++) | ~~^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.h:39:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 39 | for (auto j = 0; j < _width; j++) | ~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.h: In instantiation of 'void librealsense::disparity_transform::convert(const void*, void*) [with Tin = float; Tout = short unsigned int]': /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:78:91: required from here /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.h:38:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 38 | for (auto i = 0; i < _height; i++) | ~~^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.h:39:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 39 | for (auto j = 0; j < _width; j++) | ~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/disparity-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 28%] Building CXX object CMakeFiles/realsense2.dir/src/proc/identity-processing-block.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/identity-processing-block.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/identity-processing-block.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 27%] Building CXX object CMakeFiles/realsense2.dir/src/proc/y12i-to-y16y16.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/y12i-to-y16y16.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/y12i-to-y16y16.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 28%] Building CXX object CMakeFiles/realsense2.dir/src/proc/rates-printer.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/rates-printer.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp: In member function 'void librealsense::rates_printer::profile::on_frame_arrival(const rs2::frame&)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp:74:32: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 74 | if (_last_frame_number >= f.get_frame_number()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp:80:33: warning: comparison of integer expressions of different signedness: 'std::vector > > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 80 | if (_time_points.size() > _stream_profile.fps()) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rates-printer.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 28%] Building CXX object CMakeFiles/realsense2.dir/src/proc/threshold.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/threshold.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_sensor.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/threshold.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 29%] Building CXX object CMakeFiles/realsense2.dir/src/proc/units-transform.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/units-transform.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_sensor.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp: In member function 'virtual rs2::frame librealsense::units_transform::process_frame(const rs2::frame_source&, const rs2::frame&)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp:68:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 68 | for (int i = 0; i < _width * _height; i++) | ~~^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/units-transform.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 29%] Building CXX object CMakeFiles/realsense2.dir/src/proc/rotation-transform.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/rotation-transform.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/rotation-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 30%] Building CXX object CMakeFiles/realsense2.dir/src/proc/depth-formats-converter.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/depth-formats-converter.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 29%] Building CXX object CMakeFiles/realsense2.dir/src/proc/zero-order.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/zero-order.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h: In constructor 'librealsense::zero_order_options::zero_order_options()': /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:46:33: warning: 'librealsense::zero_order_options::threshold_scale' will be initialized after [-Wreorder] 46 | int threshold_scale; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:41:33: warning: 'bool librealsense::zero_order_options::read_baseline' [-Wreorder] 41 | bool read_baseline; | ^~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:24:9: warning: when initialized here [-Wreorder] 24 | zero_order_options(): | ^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-device.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/l500/l500-depth.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp: In function 'bool librealsense::try_get_zo_rtd_ir_point_values(const double*, const uint16_t*, const uint8_t*, const rs2_intrinsics&, const librealsense::zero_order_options&, int, int, double*, uint8_t*)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:87:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 87 | for (auto i = 0; i < values_rtd.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp: In member function 'virtual rs2::frame librealsense::zero_order::process_frame(const rs2::frame_source&, const rs2::frame&)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/zero-order.cpp:439:18: warning: 'confidence_output' may be used uninitialized in this function [-Wmaybe-uninitialized] 439 | uint8_t* confidence_output; | ^~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 31%] Building CXX object CMakeFiles/realsense2.dir/src/proc/depth-decompress.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/depth-decompress.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/depth-decompress.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 30%] Building CXX object CMakeFiles/realsense2.dir/src/proc/color-formats-converter.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/color-formats-converter.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp:12: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h: In function 'unsigned char* stbi__convert_format(unsigned char*, int, int, unsigned int, unsigned int)': /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1342:10: note: in expansion of macro 'CASE' 1342 | CASE(1,2) dest[0]=src[0], dest[1]=255; break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1342:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1342 | CASE(1,2) dest[0]=src[0], dest[1]=255; break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1343:10: note: in expansion of macro 'CASE' 1343 | CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1343:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1343 | CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1344:10: note: in expansion of macro 'CASE' 1344 | CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1344:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1344 | CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1345:10: note: in expansion of macro 'CASE' 1345 | CASE(2,1) dest[0]=src[0]; break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1345:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1345 | CASE(2,1) dest[0]=src[0]; break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1346:10: note: in expansion of macro 'CASE' 1346 | CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1346:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1346 | CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1347:10: note: in expansion of macro 'CASE' 1347 | CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1347:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1347 | CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1348:10: note: in expansion of macro 'CASE' 1348 | CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1348:78: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1348 | CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1349:10: note: in expansion of macro 'CASE' 1349 | CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1349:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1349 | CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1350:10: note: in expansion of macro 'CASE' 1350 | CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1350:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1350 | CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1351:10: note: in expansion of macro 'CASE' 1351 | CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1351:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1351 | CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1352:10: note: in expansion of macro 'CASE' 1352 | CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1352:85: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1352 | CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1353:10: note: in expansion of macro 'CASE' 1353 | CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1353:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1353 | CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h: In function 'int stbi__create_png_image_raw(stbi__png*, stbi_uc*, stbi__uint32, int, stbi__uint32, stbi__uint32, int, int)': /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4027:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4027 | for (k=0; k < nk; ++k) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4031:13: note: in expansion of macro 'CASE' 4031 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4031:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4031 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4027:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4027 | for (k=0; k < nk; ++k) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4032:13: note: in expansion of macro 'CASE' 4032 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4032:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4032 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4027:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4027 | for (k=0; k < nk; ++k) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4033:13: note: in expansion of macro 'CASE' 4033 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4033:113: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4033 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4027:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4027 | for (k=0; k < nk; ++k) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4034:13: note: in expansion of macro 'CASE' 4034 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4034:139: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4034 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4027:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4027 | for (k=0; k < nk; ++k) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4035:13: note: in expansion of macro 'CASE' 4035 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4035:102: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4035 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4027:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4027 | for (k=0; k < nk; ++k) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4036:13: note: in expansion of macro 'CASE' 4036 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4036:112: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4036 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4045:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4045 | for (k=0; k < img_n; ++k) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4047:13: note: in expansion of macro 'CASE' 4047 | CASE(STBI__F_none) cur[k] = raw[k]; break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4047:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4047 | CASE(STBI__F_none) cur[k] = raw[k]; break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4045:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4045 | for (k=0; k < img_n; ++k) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4048:13: note: in expansion of macro 'CASE' 4048 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4048:88: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4048 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4045:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4045 | for (k=0; k < img_n; ++k) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4049:13: note: in expansion of macro 'CASE' 4049 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4049:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4049 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4045:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4045 | for (k=0; k < img_n; ++k) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4050:13: note: in expansion of macro 'CASE' 4050 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4050:106: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4050 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4045:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4045 | for (k=0; k < img_n; ++k) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4051:13: note: in expansion of macro 'CASE' 4051 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4051:125: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4051 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4045:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4045 | for (k=0; k < img_n; ++k) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4052:13: note: in expansion of macro 'CASE' 4052 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4052:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4052 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4045:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4045 | for (k=0; k < img_n; ++k) | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4053:13: note: in expansion of macro 'CASE' 4053 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4053:105: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4053 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; | ^~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp:12: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:6287:13: warning: 'int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)' defined but not used [-Wunused-function] 6287 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:6280:13: warning: 'int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)' defined but not used [-Wunused-function] 6280 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:6258:13: warning: 'int stbi_info(const char*, int*, int*, int*)' defined but not used [-Wunused-function] 6258 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4248:14: warning: 'void stbi_convert_iphone_png_to_rgb(int)' defined but not used [-Wunused-function] 4248 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:4243:14: warning: 'void stbi_set_unpremultiply_on_load(int)' defined but not used [-Wunused-function] 4243 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:3871:13: warning: 'int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)' defined but not used [-Wunused-function] 3871 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:3855:15: warning: 'char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)' defined but not used [-Wunused-function] 3855 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:3844:13: warning: 'int stbi_zlib_decode_buffer(char*, int, const char*, int)' defined but not used [-Wunused-function] 3844 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:3823:15: warning: 'char* stbi_zlib_decode_malloc(const char*, int, int*)' defined but not used [-Wunused-function] 3823 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1181:16: warning: 'void stbi_hdr_to_ldr_scale(float)' defined but not used [-Wunused-function] 1181 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1180:16: warning: 'void stbi_hdr_to_ldr_gamma(float)' defined but not used [-Wunused-function] 1180 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1177:16: warning: 'void stbi_ldr_to_hdr_scale(float)' defined but not used [-Wunused-function] 1177 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1176:16: warning: 'void stbi_ldr_to_hdr_gamma(float)' defined but not used [-Wunused-function] 1176 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1161:18: warning: 'int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)' defined but not used [-Wunused-function] 1161 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1138:18: warning: 'int stbi_is_hdr(const char*)' defined but not used [-Wunused-function] 1138 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1124:13: warning: 'int stbi_is_hdr_from_memory(const stbi_uc*, int)' defined but not used [-Wunused-function] 1124 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1100:16: warning: 'float* stbi_loadf(const char*, int*, int*, int*, int)' defined but not used [-Wunused-function] 1100 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1092:16: warning: 'float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)' defined but not used [-Wunused-function] 1092 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1085:16: warning: 'float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)' defined but not used [-Wunused-function] 1085 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1060:18: warning: 'stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)' defined but not used [-Wunused-function] 1060 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:1029:18: warning: 'stbi_uc* stbi_load(const char*, int*, int*, int*, int)' defined but not used [-Wunused-function] 1029 | STBIDEF stbi_uc *stbi_load(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:922:14: warning: 'void stbi_set_flip_vertically_on_load(int)' defined but not used [-Wunused-function] 922 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/stb_image.h:876:21: warning: 'const char* stbi_failure_reason()' defined but not used [-Wunused-function] 876 | STBIDEF const char *stbi_failure_reason(void) | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/color-formats-converter.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 30%] Building CXX object CMakeFiles/realsense2.dir/src/proc/motion-transform.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/motion-transform.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-motion.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-private.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/ds5/ds5-options.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/motion-transform.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 31%] Building CXX object CMakeFiles/realsense2.dir/src/proc/auto-exposure-processor.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/proc/auto-exposure-processor.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h: In constructor 'librealsense::auto_exposure_processor::auto_exposure_processor(const char*, rs2_stream, librealsense::enable_auto_exposure_option&)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h:25:41: warning: 'librealsense::auto_exposure_processor::_stream' will be initialized after [-Wreorder] 25 | rs2_stream _stream; | ^~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h:24:41: warning: 'librealsense::enable_auto_exposure_option& librealsense::auto_exposure_processor::_enable_ae_option' [-Wreorder] 24 | enable_auto_exposure_option& _enable_ae_option; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp:9:1: warning: when initialized here [-Wreorder] 9 | librealsense::auto_exposure_processor::auto_exposure_processor(const char * name, rs2_stream stream, enable_auto_exposure_option& enable_ae_option) | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/auto-exposure-processor.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 34%] Building CXX object CMakeFiles/realsense2.dir/src/libusb/context-libusb.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/libusb/context-libusb.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.cpp In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.h: In constructor 'librealsense::platform::usb_context::usb_context()': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.h:35:36: warning: 'librealsense::platform::usb_context::_ctx' will be initialized after [-Wreorder] 35 | struct libusb_context* _ctx; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.h:32:29: warning: 'libusb_device** librealsense::platform::usb_context::_list' [-Wreorder] 32 | libusb_device **_list; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.cpp:11:9: warning: when initialized here [-Wreorder] 11 | usb_context::usb_context() : _ctx(NULL), _list(NULL), _count(0) | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.cpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.cpp:23:22: warning: unused variable 'sts' [-Wunused-variable] 23 | auto sts = libusb_handle_events_completed(_ctx, &_kill_handler_thread); | ^~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/context-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/../../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 33%] Building CXX object CMakeFiles/realsense2.dir/src/fw-update/fw-update-unsigned.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/fw-update/fw-update-unsigned.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp: In function 'std::vector librealsense::parse_payloads(const std::vector&, size_t)': /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp:13:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 13 | for (int i = 0; i < number_of_payloads; i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp: In function 'std::vector librealsense::parse_tables(const std::vector&, librealsense::flash_table, librealsense::flash_structure)': /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp:29:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 29 | for (int i = 0; i < num_of_tables; i++) | ~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-unsigned.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 32%] Building CXX object CMakeFiles/realsense2.dir/src/pipeline/config.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/pipeline/config.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:14, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:14, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h: In constructor 'librealsense::util::config::multistream::multistream(std::map, std::map >, std::map > >)': /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:177:48: warning: 'librealsense::util::config::multistream::_dev_to_profiles' will be initialized after [-Wreorder] 177 | std::map _dev_to_profiles; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:176:50: warning: 'std::map librealsense::util::config::multistream::_results' [-Wreorder] 176 | std::map _results; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:128:26: warning: when initialized here [-Wreorder] 128 | explicit multistream(std::map results, | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h: In member function 'bool librealsense::util::config::can_enable_stream(const librealsense::device_interface*, rs2_stream, int, int, int, rs2_format, int)': /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:262:21: warning: unused variable 'it' [-Wunused-variable] 262 | auto it = _requests.erase({stream, index}); | ^~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h: In member function 'librealsense::util::config::multistream librealsense::util::config::resolve(librealsense::device_interface*)': /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:294:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 294 | for(auto i = 0; i< dev->get_sensors_count(); i++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h: In member function 'librealsense::stream_profiles librealsense::util::config::map_sub_device(librealsense::stream_profiles, std::set, const librealsense::device_interface*) const': /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:426:39: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 426 | catch (std::exception e) | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/config.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 32%] Building CXX object CMakeFiles/realsense2.dir/src/pipeline/aggregator.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/pipeline/aggregator.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp: In member function 'void librealsense::pipeline::aggregator::handle_frame(librealsense::frame_holder, librealsense::synthetic_source_interface*)': /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:41:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 41 | for (auto i = 0; i < comp->get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = librealsense::frame_holder]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:148:83: required from 'single_consumer_frame_queue::single_consumer_frame_queue(unsigned int) [with T = librealsense::frame_holder]' /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:14:67: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/aggregator.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 31%] Building CXX object CMakeFiles/realsense2.dir/src/pipeline/pipeline.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/pipeline/pipeline.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h: In constructor 'librealsense::util::config::multistream::multistream(std::map, std::map >, std::map > >)': /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:177:48: warning: 'librealsense::util::config::multistream::_dev_to_profiles' will be initialized after [-Wreorder] 177 | std::map _dev_to_profiles; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:176:50: warning: 'std::map librealsense::util::config::multistream::_results' [-Wreorder] 176 | std::map _results; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:128:26: warning: when initialized here [-Wreorder] 128 | explicit multistream(std::map results, | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h: In member function 'bool librealsense::util::config::can_enable_stream(const librealsense::device_interface*, rs2_stream, int, int, int, rs2_format, int)': /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:262:21: warning: unused variable 'it' [-Wunused-variable] 262 | auto it = _requests.erase({stream, index}); | ^~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h: In member function 'librealsense::util::config::multistream librealsense::util::config::resolve(librealsense::device_interface*)': /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:294:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 294 | for(auto i = 0; i< dev->get_sensors_count(); i++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h: In member function 'librealsense::stream_profiles librealsense::util::config::map_sub_device(librealsense::stream_profiles, std::set, const librealsense::device_interface*) const': /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:426:39: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 426 | catch (std::exception e) | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h: In function 'bool librealsense::legacy_file_format::info_from_string(const string&, rs2_camera_info&)': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:641:26: warning: unused variable 'number_of_hexadecimal_values_in_a_guid' [-Wunused-variable] 641 | { | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h: In constructor 'librealsense::pipeline::pipeline::pipeline(std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:55:24: warning: 'librealsense::pipeline::pipeline::_dispatcher' will be initialized after [-Wreorder] 55 | dispatcher _dispatcher; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:47:24: warning: 'librealsense::device_hub librealsense::pipeline::pipeline::_hub' [-Wreorder] 47 | device_hub _hub; | ^~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:14:9: warning: when initialized here [-Wreorder] 14 | pipeline::pipeline(std::shared_ptr ctx) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/pipeline.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 34%] Building CXX object CMakeFiles/realsense2.dir/src/libusb/interface-libusb.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/libusb/interface-libusb.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h: In constructor 'librealsense::platform::handle_libusb::handle_libusb(std::shared_ptr, libusb_device*, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:103:51: warning: 'librealsense::platform::handle_libusb::_first_interface' will be initialized after [-Wreorder] 103 | std::shared_ptr _first_interface; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:102:42: warning: 'std::shared_ptr librealsense::platform::handle_libusb::_context' [-Wreorder] 102 | std::shared_ptr _context; | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:42:13: warning: when initialized here [-Wreorder] 42 | handle_libusb(std::shared_ptr context, libusb_device* device, std::shared_ptr interface) : | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/interface-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 33%] Building CXX object CMakeFiles/realsense2.dir/src/fw-update/fw-update-device.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/fw-update/fw-update-device.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/../context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/../mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/../mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/../mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/../mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/../context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/../context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/../context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/../context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/../context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/../context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp: In function 'std::string librealsense::get_formatted_fw_version(uint32_t)': /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:24:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 24 | for (auto i = 1; i <= buffer.size(); i++) | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device-interface.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 33%] Building CXX object CMakeFiles/realsense2.dir/src/fw-update/fw-update-factory.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/fw-update/fw-update-factory.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:10, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/fw-update/fw-update-factory.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 35%] Building CXX object CMakeFiles/realsense2.dir/src/libusb/messenger-libusb.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/libusb/messenger-libusb.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h: In constructor 'librealsense::platform::handle_libusb::handle_libusb(std::shared_ptr, libusb_device*, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:103:51: warning: 'librealsense::platform::handle_libusb::_first_interface' will be initialized after [-Wreorder] 103 | std::shared_ptr _first_interface; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:102:42: warning: 'std::shared_ptr librealsense::platform::handle_libusb::_context' [-Wreorder] 102 | std::shared_ptr _context; | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:42:13: warning: when initialized here [-Wreorder] 42 | handle_libusb(std::shared_ptr context, libusb_device* device, std::shared_ptr interface) : | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 32%] Building CXX object CMakeFiles/realsense2.dir/src/pipeline/profile.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/pipeline/profile.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/bag.h:64, from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:90:1: warning: multi-line comment [-Wcomment] 90 | //#define logError(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:93:1: warning: multi-line comment [-Wcomment] 93 | //#define logWarn(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:96:1: warning: multi-line comment [-Wcomment] 96 | //#define logInform(fmt, ...) \ | ^ /builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include/rosbag/../../../console_bridge/include/console_bridge/console.h:99:1: warning: multi-line comment [-Wcomment] 99 | //#define logDebug(fmt, ...) \ | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:14, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/stream.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:14, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h: In constructor 'librealsense::util::config::multistream::multistream(std::map, std::map >, std::map > >)': /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:177:48: warning: 'librealsense::util::config::multistream::_dev_to_profiles' will be initialized after [-Wreorder] 177 | std::map _dev_to_profiles; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:176:50: warning: 'std::map librealsense::util::config::multistream::_results' [-Wreorder] 176 | std::map _results; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:128:26: warning: when initialized here [-Wreorder] 128 | explicit multistream(std::map results, | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h: In member function 'bool librealsense::util::config::can_enable_stream(const librealsense::device_interface*, rs2_stream, int, int, int, rs2_format, int)': /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:262:21: warning: unused variable 'it' [-Wunused-variable] 262 | auto it = _requests.erase({stream, index}); | ^~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h: In member function 'librealsense::util::config::multistream librealsense::util::config::resolve(librealsense::device_interface*)': /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:294:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 294 | for(auto i = 0; i< dev->get_sensors_count(); i++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h: In member function 'librealsense::stream_profiles librealsense::util::config::map_sub_device(librealsense::stream_profiles, std::set, const librealsense::device_interface*) const': /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:426:39: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 426 | catch (std::exception e) | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_writer.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h: In function 'bool librealsense::legacy_file_format::info_from_string(const string&, rs2_camera_info&)': /builddir/build/BUILD/librealsense-2.33.1/src/media/ros/ros_file_format.h:642:26: warning: unused variable 'number_of_hexadecimal_values_in_a_guid' [-Wunused-variable] 642 | const size_t number_of_hexadecimal_values_in_a_guid = 11; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/resolver.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/pipeline/profile.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 34%] Building CXX object CMakeFiles/realsense2.dir/src/libusb/device-libusb.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/libusb/device-libusb.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h: In constructor 'librealsense::platform::handle_libusb::handle_libusb(std::shared_ptr, libusb_device*, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:103:51: warning: 'librealsense::platform::handle_libusb::_first_interface' will be initialized after [-Wreorder] 103 | std::shared_ptr _first_interface; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:102:42: warning: 'std::shared_ptr librealsense::platform::handle_libusb::_context' [-Wreorder] 102 | std::shared_ptr _context; | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:42:13: warning: when initialized here [-Wreorder] 42 | handle_libusb(std::shared_ptr context, libusb_device* device, std::shared_ptr interface) : | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 35%] Building CXX object CMakeFiles/realsense2.dir/src/libusb/request-libusb.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/libusb/request-libusb.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h: In constructor 'librealsense::platform::handle_libusb::handle_libusb(std::shared_ptr, libusb_device*, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:103:51: warning: 'librealsense::platform::handle_libusb::_first_interface' will be initialized after [-Wreorder] 103 | std::shared_ptr _first_interface; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:102:42: warning: 'std::shared_ptr librealsense::platform::handle_libusb::_context' [-Wreorder] 102 | std::shared_ptr _context; | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:42:13: warning: when initialized here [-Wreorder] 42 | handle_libusb(std::shared_ptr context, libusb_device* device, std::shared_ptr interface) : | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/request-libusb.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 37%] Building CXX object CMakeFiles/realsense2.dir/src/backend.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/backend.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/backend.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 35%] Building CXX object CMakeFiles/realsense2.dir/src/libusb/enumerator-libusb.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/libusb/enumerator-libusb.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h: In constructor 'librealsense::platform::handle_libusb::handle_libusb(std::shared_ptr, libusb_device*, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:103:51: warning: 'librealsense::platform::handle_libusb::_first_interface' will be initialized after [-Wreorder] 103 | std::shared_ptr _first_interface; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:102:42: warning: 'std::shared_ptr librealsense::platform::handle_libusb::_context' [-Wreorder] 102 | std::shared_ptr _context; | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:42:13: warning: when initialized here [-Wreorder] 42 | handle_libusb(std::shared_ptr context, libusb_device* device, std::shared_ptr interface) : | ^~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp: In function 'std::string librealsense::platform::get_device_path(libusb_device*)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:28:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 28 | for (size_t i = 0; i < port_count; ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:30:70: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 30 | port_path << std::to_string(usb_ports[i]) << (((i+1) < port_count)?".":""); | make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' ~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:26:18: warning: unused variable 'r' [-Wunused-variable] 26 | auto r= libusb_get_device_descriptor(usb_device,&dev_desc); | ^ /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp: In static member function 'static librealsense::platform::rs_usb_device librealsense::platform::usb_enumerator::create_usb_device(const librealsense::platform::usb_device_info&)': /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:123:43: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 123 | catch (std::exception e) | ^ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/handle-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/messenger-libusb.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/device-libusb.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/libusb/enumerator-libusb.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 36%] Building CXX object CMakeFiles/realsense2.dir/src/linux/backend-hid.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/linux/backend-hid.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/metadata.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/metadata.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/metadata.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/metadata.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp: In member function 'std::vector librealsense::platform::hid_custom_sensor::get_report_data(const string&, librealsense::platform::custom_sensor_report_field)': /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:186:24: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 186 | catch(std::out_of_range) | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:283:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 283 | for (auto i = 0; i < read_size / channel_size; ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/metadata.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/metadata.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/metadata.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/linux/backend-hid.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 36%] Building CXX object CMakeFiles/realsense2.dir/src/algo.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/algo.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/algo.h: In constructor 'librealsense::auto_exposure_mechanism::auto_exposure_mechanism(librealsense::option&, librealsense::option&, const librealsense::auto_exposure_state&)': /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:137:51: warning: 'librealsense::auto_exposure_mechanism::_skip_frames' will be initialized after [-Wreorder] 137 | std::atomic _skip_frames; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:134:51: warning: 'single_consumer_queue librealsense::auto_exposure_mechanism::_data_queue' [-Wreorder] 134 | single_consumer_queue _data_queue; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:49:1: warning: when initialized here [-Wreorder] 49 | auto_exposure_mechanism::auto_exposure_mechanism(option& gain_option, option& exposure_option, const auto_exposure_state& auto_exposure_state) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:134:51: warning: 'librealsense::auto_exposure_mechanism::_data_queue' will be initialized after [-Wreorder] 134 | single_consumer_queue _data_queue; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:128:51: warning: 'librealsense::option& librealsense::auto_exposure_mechanism::_gain_option' [-Wreorder] 128 | option& _gain_option; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:49:1: warning: when initialized here [-Wreorder] 49 | auto_exposure_mechanism::auto_exposure_mechanism(option& gain_option, option& exposure_option, const auto_exposure_state& auto_exposure_state) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = librealsense::frame_holder]': /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:53:66: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/debug.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:16, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/algo.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 38%] Building CXX object CMakeFiles/realsense2.dir/src/environment.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/environment.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/environment.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 37%] Building CXX object CMakeFiles/realsense2.dir/src/archive.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/archive.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp In file included from /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp: In member function 'void librealsense::points::export_to_ply(const string&, const librealsense::frame_holder&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:79:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 79 | for (int x = 0; x < width - 1; ++x) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:80:31: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 80 | for (int y = 0; y < video_stream_profile->get_height() - 1; ++y) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:116:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 116 | for (int i = 0; i < new_vertices.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:133:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 133 | for (int i = 0; i < size; ++i) { | ~~^~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h: In instantiation of 'librealsense::frame_archive::frame_archive(std::atomic*, std::shared_ptr, std::shared_ptr > >) [with T = librealsense::video_frame]': /usr/include/c++/10/ext/new_allocator.h:150:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive]' /usr/include/c++/10/bits/alloc_traits.h:512:17: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; std::allocator_traits >::allocator_type = std::allocator >]' /usr/include/c++/10/bits/shared_ptr_base.h:551:39: required from 'std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; _Alloc = std::allocator >; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr_base.h:682:16: required from 'std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = librealsense::frame_archive; _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr_base.h:1371:71: required from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr.h:408:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive]' /usr/include/c++/10/bits/shared_ptr.h:859:14: required from 'std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = librealsense::frame_archive; _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}]' /usr/include/c++/10/bits/shared_ptr.h:875:39: required from 'std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}]' /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:164:101: required from here /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:22:30: warning: 'librealsense::frame_archive::mutex' will be initialized after [-Wreorder] 22 | std::recursive_mutex mutex; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:20:27: warning: 'std::atomic librealsense::frame_archive::recycle_frames' [-Wreorder] 20 | std::atomic recycle_frames; | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:165:18: warning: when initialized here [-Wreorder] 165 | explicit frame_archive(std::atomic* in_max_frame_queue_size, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:23:49: warning: 'librealsense::frame_archive::_time_service' will be initialized after [-Wreorder] 23 | std::shared_ptr _time_service; | ^~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:16:46: warning: 'std::shared_ptr > > librealsense::frame_archive::_metadata_parsers' [-Wreorder] 16 | std::shared_ptr _metadata_parsers = nullptr; | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:165:18: warning: when initialized here [-Wreorder] 165 | explicit frame_archive(std::atomic* in_max_frame_queue_size, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h: In instantiation of 'librealsense::frame_archive::frame_archive(std::atomic*, std::shared_ptr, std::shared_ptr > >) [with T = librealsense::composite_frame]': /usr/include/c++/10/ext/new_allocator.h:150:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive]' /usr/include/c++/10/bits/alloc_traits.h:512:17: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; std::allocator_traits >::allocator_type = std::allocator >]' /usr/include/c++/10/bits/shared_ptr_base.h:551:39: required from 'std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; _Alloc = std::allocator >; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr_base.h:682:16: required from 'std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = librealsense::frame_archive; _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr_base.h:1371:71: required from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr.h:408:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive]' /usr/include/c++/10/bits/shared_ptr.h:859:14: required from 'std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = librealsense::frame_archive; _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}]' /usr/include/c++/10/bits/shared_ptr.h:875:39: required from 'std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}]' /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:167:105: required from here /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:22:30: warning: 'librealsense::frame_archive::mutex' will be initialized after [-Wreorder] 22 | std::recursive_mutex mutex; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:20:27: warning: 'std::atomic librealsense::frame_archive::recycle_frames' [-Wreorder] 20 | std::atomic recycle_frames; | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:165:18: warning: when initialized here [-Wreorder] 165 | explicit frame_archive(std::atomic* in_max_frame_queue_size, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:23:49: warning: 'librealsense::frame_archive::_time_service' will be initialized after [-Wreorder] 23 | std::shared_ptr _time_service; | ^~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:16:46: warning: 'std::shared_ptr > > librealsense::frame_archive::_metadata_parsers' [-Wreorder] 16 | std::shared_ptr _metadata_parsers = nullptr; | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:165:18: warning: when initialized here [-Wreorder] 165 | explicit frame_archive(std::atomic* in_max_frame_queue_size, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h: In instantiation of 'librealsense::frame_archive::frame_archive(std::atomic*, std::shared_ptr, std::shared_ptr > >) [with T = librealsense::motion_frame]': /usr/include/c++/10/ext/new_allocator.h:150:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive]' /usr/include/c++/10/bits/alloc_traits.h:512:17: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; std::allocator_traits >::allocator_type = std::allocator >]' /usr/include/c++/10/bits/shared_ptr_base.h:551:39: required from 'std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; _Alloc = std::allocator >; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr_base.h:682:16: required from 'std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = librealsense::frame_archive; _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr_base.h:1371:71: required from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr.h:408:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive]' /usr/include/c++/10/bits/shared_ptr.h:859:14: required from 'std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = librealsense::frame_archive; _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}]' /usr/include/c++/10/bits/shared_ptr.h:875:39: required from 'std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}]' /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:170:102: required from here /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:22:30: warning: 'librealsense::frame_archive::mutex' will be initialized after [-Wreorder] 22 | std::recursive_mutex mutex; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:20:27: warning: 'std::atomic librealsense::frame_archive::recycle_frames' [-Wreorder] 20 | std::atomic recycle_frames; | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:165:18: warning: when initialized here [-Wreorder] 165 | explicit frame_archive(std::atomic* in_max_frame_queue_size, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:23:49: warning: 'librealsense::frame_archive::_time_service' will be initialized after [-Wreorder] 23 | std::shared_ptr _time_service; | ^~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:16:46: warning: 'std::shared_ptr > > librealsense::frame_archive::_metadata_parsers' [-Wreorder] 16 | std::shared_ptr _metadata_parsers = nullptr; | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:165:18: warning: when initialized here [-Wreorder] 165 | explicit frame_archive(std::atomic* in_max_frame_queue_size, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h: In instantiation of 'librealsense::frame_archive::frame_archive(std::atomic*, std::shared_ptr, std::shared_ptr > >) [with T = librealsense::points]': /usr/include/c++/10/ext/new_allocator.h:150:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive]' /usr/include/c++/10/bits/alloc_traits.h:512:17: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; std::allocator_traits >::allocator_type = std::allocator >]' /usr/include/c++/10/bits/shared_ptr_base.h:551:39: required from 'std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; _Alloc = std::allocator >; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr_base.h:682:16: required from 'std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = librealsense::frame_archive; _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr_base.h:1371:71: required from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr.h:408:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive]' /usr/include/c++/10/bits/shared_ptr.h:859:14: required from 'std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = librealsense::frame_archive; _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}]' /usr/include/c++/10/bits/shared_ptr.h:875:39: required from 'std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}]' /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:173:96: required from here /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:22:30: warning: 'librealsense::frame_archive::mutex' will be initialized after [-Wreorder] 22 | std::recursive_mutex mutex; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:20:27: warning: 'std::atomic librealsense::frame_archive::recycle_frames' [-Wreorder] 20 | std::atomic recycle_frames; | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:165:18: warning: when initialized here [-Wreorder] 165 | explicit frame_archive(std::atomic* in_max_frame_queue_size, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:23:49: warning: 'librealsense::frame_archive::_time_service' will be initialized after [-Wreorder] 23 | std::shared_ptr _time_service; | ^~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:16:46: warning: 'std::shared_ptr > > librealsense::frame_archive::_metadata_parsers' [-Wreorder] 16 | std::shared_ptr _metadata_parsers = nullptr; | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:165:18: warning: when initialized here [-Wreorder] 165 | explicit frame_archive(std::atomic* in_max_frame_queue_size, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h: In instantiation of 'librealsense::frame_archive::frame_archive(std::atomic*, std::shared_ptr, std::shared_ptr > >) [with T = librealsense::depth_frame]': /usr/include/c++/10/ext/new_allocator.h:150:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive]' /usr/include/c++/10/bits/alloc_traits.h:512:17: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; std::allocator_traits >::allocator_type = std::allocator >]' /usr/include/c++/10/bits/shared_ptr_base.h:551:39: required from 'std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; _Alloc = std::allocator >; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr_base.h:682:16: required from 'std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = librealsense::frame_archive; _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr_base.h:1371:71: required from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr.h:408:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive]' /usr/include/c++/10/bits/shared_ptr.h:859:14: required from 'std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = librealsense::frame_archive; _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}]' /usr/include/c++/10/bits/shared_ptr.h:875:39: required from 'std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}]' /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:176:101: required from here /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:22:30: warning: 'librealsense::frame_archive::mutex' will be initialized after [-Wreorder] 22 | std::recursive_mutex mutex; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:20:27: warning: 'std::atomic librealsense::frame_archive::recycle_frames' [-Wreorder] 20 | std::atomic recycle_frames; | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:165:18: warning: when initialized here [-Wreorder] 165 | explicit frame_archive(std::atomic* in_max_frame_queue_size, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:23:49: warning: 'librealsense::frame_archive::_time_service' will be initialized after [-Wreorder] 23 | std::shared_ptr _time_service; | ^~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:16:46: warning: 'std::shared_ptr > > librealsense::frame_archive::_metadata_parsers' [-Wreorder] 16 | std::shared_ptr _metadata_parsers = nullptr; | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:165:18: warning: when initialized here [-Wreorder] 165 | explicit frame_archive(std::atomic* in_max_frame_queue_size, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h: In instantiation of 'librealsense::frame_archive::frame_archive(std::atomic*, std::shared_ptr, std::shared_ptr > >) [with T = librealsense::pose_frame]': /usr/include/c++/10/ext/new_allocator.h:150:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive]' /usr/include/c++/10/bits/alloc_traits.h:512:17: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; std::allocator_traits >::allocator_type = std::allocator >]' /usr/include/c++/10/bits/shared_ptr_base.h:551:39: required from 'std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; _Alloc = std::allocator >; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr_base.h:682:16: required from 'std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = librealsense::frame_archive; _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr_base.h:1371:71: required from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr.h:408:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive]' /usr/include/c++/10/bits/shared_ptr.h:859:14: required from 'std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = librealsense::frame_archive; _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}]' /usr/include/c++/10/bits/shared_ptr.h:875:39: required from 'std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}]' /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:179:100: required from here /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:22:30: warning: 'librealsense::frame_archive::mutex' will be initialized after [-Wreorder] 22 | std::recursive_mutex mutex; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:20:27: warning: 'std::atomic librealsense::frame_archive::recycle_frames' [-Wreorder] 20 | std::atomic recycle_frames; | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:165:18: warning: when initialized here [-Wreorder] 165 | explicit frame_archive(std::atomic* in_max_frame_queue_size, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:23:49: warning: 'librealsense::frame_archive::_time_service' will be initialized after [-Wreorder] 23 | std::shared_ptr _time_service; | ^~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:16:46: warning: 'std::shared_ptr > > librealsense::frame_archive::_metadata_parsers' [-Wreorder] 16 | std::shared_ptr _metadata_parsers = nullptr; | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:165:18: warning: when initialized here [-Wreorder] 165 | explicit frame_archive(std::atomic* in_max_frame_queue_size, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h: In instantiation of 'librealsense::frame_archive::frame_archive(std::atomic*, std::shared_ptr, std::shared_ptr > >) [with T = librealsense::disparity_frame]': /usr/include/c++/10/ext/new_allocator.h:150:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive]' /usr/include/c++/10/bits/alloc_traits.h:512:17: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; std::allocator_traits >::allocator_type = std::allocator >]' /usr/include/c++/10/bits/shared_ptr_base.h:551:39: required from 'std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; _Alloc = std::allocator >; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr_base.h:682:16: required from 'std::__shared_count<_Lp>::__shared_count(_Tp*&, std::_Sp_alloc_shared_tag<_Alloc>, _Args&& ...) [with _Tp = librealsense::frame_archive; _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr_base.h:1371:71: required from 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_mutex]' /usr/include/c++/10/bits/shared_ptr.h:408:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}; _Tp = librealsense::frame_archive]' /usr/include/c++/10/bits/shared_ptr.h:859:14: required from 'std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = librealsense::frame_archive; _Alloc = std::allocator >; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}]' /usr/include/c++/10/bits/shared_ptr.h:875:39: required from 'std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = librealsense::frame_archive; _Args = {std::atomic*&, std::shared_ptr&, std::shared_ptr, std::less, std::allocator > > > >&}]' /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:182:105: required from here /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:22:30: warning: 'librealsense::frame_archive::mutex' will be initialized after [-Wreorder] 22 | std::recursive_mutex mutex; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:20:27: warning: 'std::atomic librealsense::frame_archive::recycle_frames' [-Wreorder] 20 | std::atomic recycle_frames; | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:165:18: warning: when initialized here [-Wreorder] 165 | explicit frame_archive(std::atomic* in_max_frame_queue_size, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:23:49: warning: 'librealsense::frame_archive::_time_service' will be initialized after [-Wreorder] 23 | std::shared_ptr _time_service; | ^~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:16:46: warning: 'std::shared_ptr > > librealsense::frame_archive::_metadata_parsers' [-Wreorder] 16 | std::shared_ptr _metadata_parsers = nullptr; | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/frame-archive.h:165:18: warning: when initialized here [-Wreorder] 165 | explicit frame_archive(std::atomic* in_max_frame_queue_size, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/archive.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 38%] Building CXX object CMakeFiles/realsense2.dir/src/device_hub.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/device_hub.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/include/librealsense2/hpp/rs_sensor.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/include/librealsense2/hpp/rs_device.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/include/librealsense2/hpp/rs_record_playback.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/include/librealsense2/hpp/rs_context.hpp:8, from /builddir/build/BUILD/librealsense-2.33.1/include/librealsense2/rs.hpp:9, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:8: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp: In function 'std::vector > librealsense::filter_by_vid(std::vector >, int)': /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:19:18: warning: variable 'filtered' set but not used [-Wunused-but-set-variable] 19 | bool filtered = false; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp: In member function 'std::shared_ptr librealsense::device_hub::create_device(const string&, bool)': /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:70:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 70 | for(auto i = 0; ((i< _device_list.size()) && (nullptr == res)); i++) | ~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/core/processing.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device_hub.cpp:5: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 38%] Building CXX object CMakeFiles/realsense2.dir/src/device.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/device.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:11, from /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h: In constructor 'librealsense::platform::record_device_watcher::record_device_watcher(const librealsense::platform::record_backend*, std::shared_ptr, int)': /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:420:45: warning: 'librealsense::platform::record_device_watcher::_source_watcher' will be initialized after [-Wreorder] 420 | std::shared_ptr _source_watcher; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:419:35: warning: 'const librealsense::platform::record_backend* librealsense::platform::record_device_watcher::_owner' [-Wreorder] 419 | const record_backend* _owner; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/mock/recorder.h:406:13: warning: when initialized here [-Wreorder] 406 | record_device_watcher(const record_backend* owner, std::shared_ptr source_watcher, int id) : | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/media/playback/playback_device.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/context.h:12, from /builddir/build/BUILD/librealsense-2.33.1/src/device.h:18, from /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:7: /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h: In constructor 'librealsense::device_serializer::serialized_option::serialized_option(librealsense::device_serializer::nanoseconds, librealsense::device_serializer::sensor_identifier, rs2_option, std::shared_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:146:24: warning: 'librealsense::device_serializer::serialized_option::option_id' will be initialized after [-Wreorder] 146 | rs2_option option_id; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:145:51: warning: 'std::shared_ptr librealsense::device_serializer::serialized_option::option' [-Wreorder] 145 | std::shared_ptr option; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/core/serialization.h:140:13: warning: when initialized here [-Wreorder] 140 | serialized_option(device_serializer::nanoseconds time, sensor_identifier id, rs2_option opt_id, std::shared_ptr o) : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp: In member function 'int librealsense::device::assign_sensor(const std::shared_ptr&, uint8_t)': /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:176:17: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 176 | catch (std::out_of_range) | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp: In member function 'virtual librealsense::sensor_interface& librealsense::device::get_sensor(size_t)': /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:193:17: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 193 | catch (std::out_of_range) | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp: In member function 'virtual const librealsense::sensor_interface& librealsense::device::get_sensor(size_t) const': /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:216:17: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 216 | catch (std::out_of_range) | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp: In member function 'virtual void librealsense::device::tag_profiles(librealsense::stream_profiles) const': /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:293:32: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 293 | (tag.width == -1 || vp->get_width() == tag.width) && | ~~~~~~~~~~^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:294:33: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 294 | (tag.height == -1 || vp->get_height() == tag.height) && | ~~~~~~~~~~~^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:295:30: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 295 | (tag.fps == -1 || vp->get_framerate() == tag.fps) && | ~~~~~~~~^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:304:30: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 304 | (tag.fps == -1 || mp->get_framerate() == tag.fps) && | ~~~~~~~~^~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = int; int C = 256]': /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:209:46: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: unused variable 'old_value' [-Wunused-variable] In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/core/options.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/core/streaming.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/environment.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/device.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 40%] Building CXX object CMakeFiles/realsense2.dir/src/image.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/image.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/image.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/image.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/image.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/image.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/image.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/image.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/image.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/image.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/image.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/image.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/image.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/image.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/image.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/image.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/image.cpp:4: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 40%] Building CXX object CMakeFiles/realsense2.dir/src/image-avx.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/image-avx.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:45, from /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In instantiation of 'single_consumer_queue::single_consumer_queue(unsigned int) [with T = std::function]': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:216:25: required from here /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:28:23: warning: 'single_consumer_queue >::_was_flushed' will be initialized after [-Wreorder] 28 | std::atomic _was_flushed; | ^~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:23:10: warning: 'bool single_consumer_queue >::_accepting' [-Wreorder] 23 | bool _accepting; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:30:14: warning: when initialized here [-Wreorder] 30 | explicit single_consumer_queue(unsigned int cap = QUEUE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In instantiation of 'void librealsense::small_heap::deallocate(T*) [with T = librealsense::callback_invocation; int C = 1]': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1370:57: required from here /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1155:18: warning: variable 'old_value' set but not used [-Wunused-but-set-variable] 1155 | auto old_value = std::move(buffer[i]); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/types.h:48, from /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/image-avx.cpp:6: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h: At global scope: /builddir/build/BUILD/librealsense-2.33.1/src/../third-party/easyloggingpp/src/easylogging++.h:742:20: warning: 'el::base::consts::kPerformanceLoggerId' defined but not used [-Wunused-variable] 742 | static const char* kPerformanceLoggerId = "performance"; | ^~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/librealsense-2.33.1/build' [ 39%] Building CXX object CMakeFiles/realsense2.dir/src/error-handling.cpp.o /usr/bin/g++ -DBUILD_EASYLOGGINGPP -DBUILD_SHARED_LIBS -DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -Drealsense2_EXPORTS -I/builddir/build/BUILD/librealsense-2.33.1/realsense2 -I/builddir/build/BUILD/librealsense-2.33.1/src -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/console_bridge/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/cpp_common/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rosbag_storage/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_serialization/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/rostime/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roscpp_traits/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/roslz4/include -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/rosbag/msgs -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/boost -I/builddir/build/BUILD/librealsense-2.33.1/third-party/realsense-file/lz4/lib -I/builddir/build/BUILD/librealsense-2.33.1/include -I/usr/include/libusb-1.0 -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security -pthread -fPIC -std=gnu++11 -o CMakeFiles/realsense2.dir/src/error-handling.cpp.o -c /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.cpp make[2]: Leaving directory '/builddir/build/BUILD/librealsense-2.33.1/build' In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:15: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 15 | #pragma warning(disable : 4275) /* disable: C4275: non dll-interface class used as base for dll-interface class */ | /builddir/build/BUILD/librealsense-2.33.1/src/types.h:16: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 16 | #pragma warning(disable : 4251) /* disable: C4251: class needs to have dll-interface to be used by clients of class */ | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/types.h:62: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 62 | #pragma warning(disable: 4250) | In file included from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.h:5, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h: In constructor 'watchdog::watchdog(std::function, uint64_t)': /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:444:27: warning: 'watchdog::_operation' will be initialized after [-Wreorder] 444 | std::function _operation; | ^~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:440:14: warning: 'uint64_t watchdog::_timeout_ms' [-Wreorder] 440 | uint64_t _timeout_ms; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/concurrency.h:411:5: warning: when initialized here [-Wreorder] 411 | watchdog(std::function operation, uint64_t timeout_ms) : | ^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::stream_profile::stream_profile(rs2_format, rs2_stream, int, uint32_t, uint32_t, uint32_t, librealsense::resolution_func)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:25: warning: 'librealsense::stream_profile::height' will be initialized after [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:18: warning: 'uint32_t librealsense::stream_profile::width' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:653:25: warning: 'librealsense::stream_profile::stream_resolution' will be initialized after [-Wreorder] 653 | resolution_func stream_resolution; // Calculates the relevant resolution from the given backend resolution. | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:652:33: warning: 'uint32_t librealsense::stream_profile::fps' [-Wreorder] 652 | uint32_t width, height, fps; | ^~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:640:9: warning: when initialized here [-Wreorder] 640 | stream_profile(rs2_format fmt = RS2_FORMAT_ANY, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h: In constructor 'librealsense::polling_device_watcher::polling_device_watcher(const librealsense::platform::backend*)': /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1539:34: warning: 'librealsense::polling_device_watcher::_backend' will be initialized after [-Wreorder] 1539 | const platform::backend* _backend; | ^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1536:25: warning: 'active_object<> librealsense::polling_device_watcher::_active_object' [-Wreorder] 1536 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/types.h:1486:9: warning: when initialized here [-Wreorder] 1486 | polling_device_watcher(const platform::backend* backend_ref): | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:7, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:101:18: warning: when initialized here [-Wreorder] 101 | explicit frame() : ref_count(0), _kept(false), owner(nullptr), on_release() {} | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In constructor 'librealsense::frame::frame(librealsense::frame&&)': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:180:26: warning: 'librealsense::frame::_kept' will be initialized after [-Wreorder] 180 | std::atomic_bool _kept; | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:176:44: warning: 'std::shared_ptr librealsense::frame::owner' [-Wreorder] 176 | std::shared_ptr owner; // pointer to the owner to be returned to by last observe | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:103:9: warning: when initialized here [-Wreorder] 103 | frame(frame&& r) | ^~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/archive.h: In member function 'virtual void librealsense::composite_frame::keep()': /builddir/build/BUILD/librealsense-2.33.1/src/archive.h:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 220 | for (int i = 0; i < get_embedded_frames_count(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'bool librealsense::md_constant_parser::try_get(const librealsense::frame&, rs2_metadata_type&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:69:18: warning: unused variable 'pair_size' [-Wunused-variable] 69 | auto pair_size = (sizeof(rs2_frame_metadata_value) + sizeof(rs2_metadata_type)); | ^~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/source.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:22, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In constructor 'librealsense::ds5_md_attribute_actual_fps::ds5_md_attribute_actual_fps(bool, librealsense::attrib_modifyer)': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:403:14: warning: 'librealsense::ds5_md_attribute_actual_fps::_discrete' will be initialized after [-Wreorder] 403 | bool _discrete; | ^~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:401:39: warning: 'std::vector librealsense::ds5_md_attribute_actual_fps::_fps_values' [-Wreorder] 401 | mutable std::vector _fps_values; | ^~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:342:9: warning: when initialized here [-Wreorder] 342 | ds5_md_attribute_actual_fps(bool discrete = true, attrib_modifyer exposure_mod = [](const rs2_metadata_type& param) {return param; }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h: In member function 'virtual rs2_metadata_type librealsense::ds5_md_attribute_actual_fps::get(const librealsense::frame&) const': /builddir/build/BUILD/librealsense-2.33.1/src/metadata-parser.h:376:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 376 | for (auto i = 0; i < _fps_values.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1008:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1008 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1030:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1030 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp: In lambda function: /builddir/build/BUILD/librealsense-2.33.1/src/../include/librealsense2/hpp/rs_frame.hpp:1052:58: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 1052 | frm.get_profile().stream_index() == index) f = frm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/proc/align.h:9, from /builddir/build/BUILD/librealsense-2.33.1/src/proc/processing-blocks-factory.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/sensor.h:24, from /builddir/build/BUILD/librealsense-2.33.1/src/hw-monitor.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/option.h:8, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.h:6, from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h: In member function 'virtual void librealsense::composite_processing_block::bypass_option::set(float)': /builddir/build/BUILD/librealsense-2.33.1/src/proc/synthetic-stream.h:223:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < _parent->_processing_blocks.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.cpp:3: /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.h: In constructor 'librealsense::polling_error_handler::polling_error_handler(unsigned int, std::unique_ptr, std::shared_ptr, std::unique_ptr)': /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.h:27:25: warning: 'librealsense::polling_error_handler::_active_object' will be initialized after [-Wreorder] 27 | active_object<> _active_object; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/librealsense-2.33.1/src/error-handling.h:26:33: warning: 'std::unique_ptr librealsense::polling_error_handler::_option' [-Wreorder] 26 | std::unique_ptr