Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/cppcheck.spec'], chrootPath='/var/lib/mock/fedora-38-aarch64-1683598680.901365/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o4lr6hi8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o4lr6hi8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a84fc6aeaee84ff68e9c91f6091d2d6a', '-D', '/var/lib/mock/fedora-38-aarch64-1683598680.901365/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o4lr6hi8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/cppcheck.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/cppcheck-2.9-4.fc38_clang16_03.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/cppcheck.spec'], chrootPath='/var/lib/mock/fedora-38-aarch64-1683598680.901365/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o4lr6hi8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o4lr6hi8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ebf5d9ac74784b4292d1d5a9ffdf295f', '-D', '/var/lib/mock/fedora-38-aarch64-1683598680.901365/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.o4lr6hi8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/cppcheck.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wO3vNO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cppcheck-2.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cppcheck-2.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cppcheck-2.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (cppcheck-2.2-translations.patch):' Patch #0 (cppcheck-2.2-translations.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .translations --fuzz=0 patching file gui/CMakeLists.txt Hunk #1 succeeded at 49 (offset 9 lines). patching file gui/translationhandler.cpp Hunk #1 succeeded at 96 (offset -17 lines). + echo 'Patch #1 (cppcheck-1.88-htmlreport-python3.patch):' Patch #1 (cppcheck-1.88-htmlreport-python3.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .python3 --fuzz=0 patching file htmlreport/cppcheck-htmlreport patching file htmlreport/setup.py patching file htmlreport/test_htmlreport.py + rm -r externals/tinyxml2 + cd gui/help + qhelpgenerator-qt5 online-help.qhcp -o online-help.qhc Reading collection config file... Generating help for online-help.qhp... Building up file structure... Insert custom filters... Insert help data for filter section (1 of 1)... Insert files... Insert contents... Insert indices... Documentation successfully generated. Creating collection file... + '[' -e /usr/lib/rpm/clang/cppcheck-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wOW0OS + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd cppcheck-2.9 + make DB2MAN=/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl man xsltproc -''-nonet -''-param man.charmap.use.subset "0" /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl man/cppcheck.1.xml Note: Writing cppcheck.1 + pandoc man/manual.md -o man/manual.html -s --number-sections --toc + pandoc man/reference-cfg-format.md -o man/reference-cfg-format.html -s --number-sections --toc + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -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_DO_STRIP:BOOL=OFF -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 -DCMAKE_BUILD_TYPE=Release -DUSE_MATCHCOMPILER=yes -DHAVE_RULES=yes -DBUILD_GUI=1 -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_TESTS=yes -DFILESDIR=/usr/share/Cppcheck -DUSE_BUNDLED_TINYXML2=OFF -DENABLE_OSS_FUZZ=OFF -- The C compiler identification is Clang 17.0.0 -- The CXX compiler identification is Clang 17.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test HAS_CXX_FLAG_mllvm -- Performing Test HAS_CXX_FLAG_mllvm - Failed -- Performing Test HAS_CXX_FLAG_Wno_documentation_unknown_command -- Performing Test HAS_CXX_FLAG_Wno_documentation_unknown_command - Success -- Performing Test HAS_CXX_FLAG_Wno_deprecated_copy_dtor -- Performing Test HAS_CXX_FLAG_Wno_deprecated_copy_dtor - Success -- Performing Test HAS_CXX_FLAG_Wno_non_virtual_dtor -- Performing Test HAS_CXX_FLAG_Wno_non_virtual_dtor - Success -- Performing Test HAS_CXX_FLAG_Wno_inconsistent_missing_destructor_override -- Performing Test HAS_CXX_FLAG_Wno_inconsistent_missing_destructor_override - Success -- Performing Test HAS_CXX_FLAG_Wno_unused_exception_parameter -- Performing Test HAS_CXX_FLAG_Wno_unused_exception_parameter - Success -- Performing Test HAS_CXX_FLAG_Wno_old_style_cast -- Performing Test HAS_CXX_FLAG_Wno_old_style_cast - Success -- Performing Test HAS_CXX_FLAG_Wno_global_constructors -- Performing Test HAS_CXX_FLAG_Wno_global_constructors - Success -- Performing Test HAS_CXX_FLAG_Wno_exit_time_destructors -- Performing Test HAS_CXX_FLAG_Wno_exit_time_destructors - Success -- Performing Test HAS_CXX_FLAG_Wno_sign_conversion -- Performing Test HAS_CXX_FLAG_Wno_sign_conversion - Success -- Performing Test HAS_CXX_FLAG_Wno_shadow_field_in_constructor -- Performing Test HAS_CXX_FLAG_Wno_shadow_field_in_constructor - Success -- Performing Test HAS_CXX_FLAG_Wno_covered_switch_default -- Performing Test HAS_CXX_FLAG_Wno_covered_switch_default - Success -- Performing Test HAS_CXX_FLAG_Wno_shorten_64_to_32 -- Performing Test HAS_CXX_FLAG_Wno_shorten_64_to_32 - Success -- Performing Test HAS_CXX_FLAG_Wno_zero_as_null_pointer_constant -- Performing Test HAS_CXX_FLAG_Wno_zero_as_null_pointer_constant - Success -- Performing Test HAS_CXX_FLAG_Wno_format_nonliteral -- Performing Test HAS_CXX_FLAG_Wno_format_nonliteral - Success -- Performing Test HAS_CXX_FLAG_Wno_implicit_int_conversion -- Performing Test HAS_CXX_FLAG_Wno_implicit_int_conversion - Success -- Performing Test HAS_CXX_FLAG_Wno_double_promotion -- Performing Test HAS_CXX_FLAG_Wno_double_promotion - Success -- Performing Test HAS_CXX_FLAG_Wno_shadow_field -- Performing Test HAS_CXX_FLAG_Wno_shadow_field - Success -- Performing Test HAS_CXX_FLAG_Wno_shadow_uncaptured_local -- Performing Test HAS_CXX_FLAG_Wno_shadow_uncaptured_local - Success -- Performing Test HAS_CXX_FLAG_Wno_unreachable_code -- Performing Test HAS_CXX_FLAG_Wno_unreachable_code - Success -- Performing Test HAS_CXX_FLAG_Wno_implicit_float_conversion -- Performing Test HAS_CXX_FLAG_Wno_implicit_float_conversion - Success -- Performing Test HAS_CXX_FLAG_Wno_switch_enum -- Performing Test HAS_CXX_FLAG_Wno_switch_enum - Success -- Performing Test HAS_CXX_FLAG_Wno_float_conversion -- Performing Test HAS_CXX_FLAG_Wno_float_conversion - Success -- Performing Test HAS_CXX_FLAG_Wno_enum_enum_conversion -- Performing Test HAS_CXX_FLAG_Wno_enum_enum_conversion - Success -- Performing Test HAS_CXX_FLAG_Wno_date_time -- Performing Test HAS_CXX_FLAG_Wno_date_time - Success -- Performing Test HAS_CXX_FLAG_Wno_conditional_uninitialized -- Performing Test HAS_CXX_FLAG_Wno_conditional_uninitialized - Success -- Performing Test HAS_CXX_FLAG_Wno_suggest_override -- Performing Test HAS_CXX_FLAG_Wno_suggest_override - Success -- Performing Test HAS_CXX_FLAG_Wno_suggest_destructor_override -- Performing Test HAS_CXX_FLAG_Wno_suggest_destructor_override - Success -- Performing Test HAS_CXX_FLAG_Wno_extra_semi_stmt -- Performing Test HAS_CXX_FLAG_Wno_extra_semi_stmt - Success -- Performing Test HAS_CXX_FLAG_Wno_implicitly_unsigned_literal -- Performing Test HAS_CXX_FLAG_Wno_implicitly_unsigned_literal - Success -- Performing Test HAS_CXX_FLAG_Wno_tautological_type_limit_compare -- Performing Test HAS_CXX_FLAG_Wno_tautological_type_limit_compare - Success -- Performing Test HAS_CXX_FLAG_Wno_unused_member_function -- Performing Test HAS_CXX_FLAG_Wno_unused_member_function - Success -- Performing Test HAS_CXX_FLAG_Wno_bitwise_instead_of_logical -- Performing Test HAS_CXX_FLAG_Wno_bitwise_instead_of_logical - Success -- Performing Test HAS_CXX_FLAG_Wno_return_std_move_in_c__11 -- Performing Test HAS_CXX_FLAG_Wno_return_std_move_in_c__11 - Failed -- ------------------ General configuration for Cppcheck 2.9 ----------------- -- -- CMake Generator = Unix Makefiles -- Compiler = Clang -- Compiler Version = 17.0.0 -- Build type = Release -- CMAKE_INSTALL_PREFIX = /usr -- CMAKE_DISABLE_PRECOMPILE_HEADERS = Off -- C++ flags (General) = -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -- C++ flags (Release) = -DNDEBUG -- C++ flags (RelWithDebInfo) = -O2 -g -DNDEBUG -- C++ flags (Debug) = -g -- CMAKE_EXE_LINKER_FLAGS = -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -- CPPCHK_GLIBCXX_DEBUG = ON -- Found Define: HAVE_RULES -- Found Define: TIXML_USE_STL -- Found Define: FILESDIR="/usr/share/Cppcheck" -- -- --------------------------------------------------------- -- ANALYZE_MEMORY = OFF -- ANALYZE_ADDRESS = OFF -- ANALYZE_THREAD = OFF -- ANALYZE_UNDEFINED = OFF -- ANALYZE_DATAFLOW = OFF -- WARNINGS_ARE_ERRORS = OFF -- -- USE_MATCHCOMPILER = yes -- USE_MATCHCOMPILER_OPT = yes -- -- DISABLE_CRTDBG_MAP_ALLOC = OFF -- NO_UNIX_SIGNAL_HANDLING = OFF -- NO_UNIX_BACKTRACE_SUPPORT = OFF -- NO_WINDOWS_SEH = OFF -- -- BUILD_SHARED_LIBS = OFF -- LIBXML2_XMLLINT_EXECUTABLE = /usr/bin/xmllint -- BUILD_TESTS = yes -- REGISTER_TESTS = ON -- ENABLE_CHECK_INTERNAL = OFF -- ENABLE_OSS_FUZZ = OFF -- -- BUILD_GUI = 1 -- WITH_QCHART = OFF -- USE_QT6 = OFF -- QT_VERSION = 5.15.9 -- -- HAVE_RULES = yes -- PCRE_LIBRARY = /usr/lib64/libpcre.so -- -- USE_THREADS = OFF -- CMAKE_THREAD_LIBS_INIT = -- -- PYTHON_VERSION_STRING = 3.11.3 -- PYTHON_EXECUTABLE = /usr/bin/python3 -- -- USE_BUNDLED_TINYXML2 = OFF -- tinyxml2_LIBRARIES = tinyxml2::tinyxml2 -- -- USE_BOOST = OFF -- -- Performing Test HAS_CXX_FLAG_Wno_redundant_parens -- Performing Test HAS_CXX_FLAG_Wno_redundant_parens - Success -- Clang and clang-tidy version need to match when precompiled headers are enabled - limiting search to 'run-clang-tidy-17' -- RUN_CLANG_TIDY=RUN_CLANG_TIDY-NOTFOUND -- Configuring done (6.8s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose /usr/bin/cmake -P /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/CMakeFiles/VerifyGlobs.cmake /usr/bin/cmake -S/builddir/build/BUILD/cppcheck-2.9 -B/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/CMakeFiles /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/copy_cfg.dir/build.make CMakeFiles/copy_cfg.dir/depend /usr/bin/gmake -f CMakeFiles/copy_addons.dir/build.make CMakeFiles/copy_addons.dir/depend /usr/bin/gmake -f externals/simplecpp/CMakeFiles/simplecpp_objs.dir/build.make externals/simplecpp/CMakeFiles/simplecpp_objs.dir/depend /usr/bin/gmake -f lib/CMakeFiles/lib_objs.dir/build.make lib/CMakeFiles/lib_objs.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/CMakeFiles/copy_cfg.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/externals/simplecpp /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/externals/simplecpp/CMakeFiles/simplecpp_objs.dir/DependInfo.cmake --color= cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/CMakeFiles/copy_addons.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f externals/simplecpp/CMakeFiles/simplecpp_objs.dir/build.make externals/simplecpp/CMakeFiles/simplecpp_objs.dir/build /usr/bin/gmake -f CMakeFiles/copy_cfg.dir/build.make CMakeFiles/copy_cfg.dir/build /usr/bin/gmake -f CMakeFiles/copy_addons.dir/build.make CMakeFiles/copy_addons.dir/build [ 0%] Generating build/mc_valueflow.cpp gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line valueflow.cpp [ 1%] Copying cfg files to /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/bin/. [ 1%] Building CXX object externals/simplecpp/CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o [ 1%] Copying addons files to /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/bin/. cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/externals/simplecpp && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/externals/simplecpp -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT externals/simplecpp/CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o -MF CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o.d -o CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp/simplecpp.cpp /usr/bin/cmake -E copy_directory /builddir/build/BUILD/cppcheck-2.9/addons /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/bin/./addons /usr/bin/cmake -E copy_directory /builddir/build/BUILD/cppcheck-2.9/cfg /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/bin/./cfg gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 1%] Built target copy_addons /usr/bin/gmake -f cli/CMakeFiles/cli_objs.dir/build.make cli/CMakeFiles/cli_objs.dir/depend [ 1%] Built target copy_cfg /usr/bin/gmake -f gui/CMakeFiles/cppcheck-gui_autogen.dir/build.make gui/CMakeFiles/cppcheck-gui_autogen.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/cli /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli/CMakeFiles/cli_objs.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/gui /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck-gui_autogen.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f cli/CMakeFiles/cli_objs.dir/build.make cli/CMakeFiles/cli_objs.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f gui/CMakeFiles/cppcheck-gui_autogen.dir/build.make gui/CMakeFiles/cppcheck-gui_autogen.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp => build/mc_valueflow.cpp [ 1%] Building CXX object cli/CMakeFiles/cli_objs.dir/cmdlineparser.cpp.o [ 1%] Automatic MOC for target cppcheck-gui cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/cmake -E cmake_autogen /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck-gui_autogen.dir/AutogenInfo.json Release cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT cli/CMakeFiles/cli_objs.dir/cmdlineparser.cpp.o -MF CMakeFiles/cli_objs.dir/cmdlineparser.cpp.o.d -o CMakeFiles/cli_objs.dir/cmdlineparser.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp AutoGen: Refreshing parse cache because it doesn't exist. AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h", because it doesn't exist. /usr/bin/clang++ -dM -E -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include [ 1%] Generating build/mc_analyzerinfo.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line analyzerinfo.cpp /builddir/build/BUILD/cppcheck-2.9/lib/analyzerinfo.cpp => build/mc_analyzerinfo.cpp AutoGen: Parsing "SRC:/gui/aboutdialog.h" AutoGen: Parsing "SRC:/gui/application.h" AutoGen: Parsing "SRC:/gui/applicationdialog.h" AutoGen: Parsing "SRC:/gui/applicationlist.h" AutoGen: Parsing "SRC:/gui/checkstatistics.h" AutoGen: Parsing "SRC:/gui/checkthread.h" AutoGen: Parsing "SRC:/gui/codeeditor.h" AutoGen: Parsing "SRC:/gui/codeeditorstyle.h" AutoGen: Parsing "SRC:/gui/codeeditstylecontrols.h" AutoGen: Parsing "SRC:/gui/codeeditstyledialog.h" AutoGen: Parsing "SRC:/gui/common.h" AutoGen: Parsing "SRC:/gui/cppchecklibrarydata.h" AutoGen: Parsing "SRC:/gui/csvreport.h" AutoGen: Parsing "SRC:/gui/erroritem.h" AutoGen: Parsing "SRC:/gui/filelist.h" AutoGen: Parsing "SRC:/gui/fileviewdialog.h" AutoGen: Parsing "SRC:/gui/helpdialog.h" AutoGen: Parsing "SRC:/gui/libraryaddfunctiondialog.h" AutoGen: Parsing "SRC:/gui/librarydialog.h" AutoGen: Parsing "SRC:/gui/libraryeditargdialog.h" AutoGen: Parsing "SRC:/gui/mainwindow.h" AutoGen: Parsing "SRC:/gui/newsuppressiondialog.h" AutoGen: Parsing "SRC:/gui/platforms.h" AutoGen: Parsing "SRC:/gui/precompiled_qmake.h" AutoGen: Parsing "SRC:/gui/printablereport.h" AutoGen: Parsing "SRC:/gui/projectfile.h" AutoGen: Parsing "SRC:/gui/projectfiledialog.h" AutoGen: Parsing "SRC:/gui/report.h" AutoGen: Parsing "SRC:/gui/resultstree.h" AutoGen: Parsing "SRC:/gui/resultsview.h" AutoGen: Parsing "SRC:/gui/scratchpad.h" AutoGen: Parsing "SRC:/gui/settingsdialog.h" AutoGen: Parsing "SRC:/gui/showtypes.h" AutoGen: Parsing "SRC:/gui/statsdialog.h" AutoGen: Parsing "SRC:/gui/threadhandler.h" AutoGen: Parsing "SRC:/gui/threadresult.h" AutoGen: Parsing "SRC:/gui/translationhandler.h" AutoGen: Parsing "SRC:/gui/txtreport.h" AutoGen: Parsing "SRC:/gui/xmlreport.h" AutoGen: Parsing "SRC:/gui/xmlreportv2.h" AutoGen: Parsing "SRC:/gui/aboutdialog.cpp" AutoGen: Parsing "SRC:/gui/application.cpp" AutoGen: Parsing "SRC:/gui/applicationdialog.cpp" AutoGen: Parsing "SRC:/gui/applicationlist.cpp" AutoGen: Parsing "SRC:/gui/checkstatistics.cpp" AutoGen: Parsing "SRC:/gui/checkthread.cpp" AutoGen: Parsing "SRC:/gui/codeeditor.cpp" AutoGen: Parsing "SRC:/gui/codeeditorstyle.cpp" AutoGen: Parsing "SRC:/gui/codeeditstylecontrols.cpp" AutoGen: Parsing "SRC:/gui/codeeditstyledialog.cpp" AutoGen: Parsing "SRC:/gui/common.cpp" AutoGen: Parsing "SRC:/gui/cppchecklibrarydata.cpp" AutoGen: Parsing "SRC:/gui/csvreport.cpp" AutoGen: Parsing "SRC:/gui/erroritem.cpp" AutoGen: Parsing "SRC:/gui/filelist.cpp" AutoGen: Parsing "SRC:/gui/fileviewdialog.cpp" AutoGen: Parsing "SRC:/gui/helpdialog.cpp" AutoGen: Parsing "SRC:/gui/libraryaddfunctiondialog.cpp" AutoGen: Parsing "SRC:/gui/librarydialog.cpp" AutoGen: Parsing "SRC:/gui/libraryeditargdialog.cpp" AutoGen: Parsing "SRC:/gui/main.cpp" AutoGen: Parsing "SRC:/gui/mainwindow.cpp" AutoGen: Parsing "SRC:/gui/newsuppressiondialog.cpp" AutoGen: Parsing "SRC:/gui/platforms.cpp" AutoGen: Parsing "SRC:/gui/printablereport.cpp" AutoGen: Parsing "SRC:/gui/projectfile.cpp" AutoGen: Parsing "SRC:/gui/projectfiledialog.cpp" AutoGen: Parsing "SRC:/gui/report.cpp" AutoGen: Parsing "SRC:/gui/resultstree.cpp" AutoGen: Parsing "SRC:/gui/resultsview.cpp" AutoGen: Parsing "SRC:/gui/scratchpad.cpp" AutoGen: Parsing "SRC:/gui/settingsdialog.cpp" AutoGen: Parsing "SRC:/gui/showtypes.cpp" AutoGen: Parsing "SRC:/gui/statsdialog.cpp" AutoGen: Parsing "SRC:/gui/threadhandler.cpp" AutoGen: Parsing "SRC:/gui/threadresult.cpp" AutoGen: Parsing "SRC:/gui/translationhandler.cpp" AutoGen: Parsing "SRC:/gui/txtreport.cpp" AutoGen: Parsing "SRC:/gui/xmlreport.cpp" AutoGen: Parsing "SRC:/gui/xmlreportv2.cpp" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_aboutdialog.cpp", because it doesn't exist, from "SRC:/gui/aboutdialog.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_aboutdialog.cpp /builddir/build/BUILD/cppcheck-2.9/gui/aboutdialog.h [ 1%] Generating build/mc_astutils.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line astutils.cpp /builddir/build/BUILD/cppcheck-2.9/lib/astutils.cpp => build/mc_astutils.cpp [ 1%] Generating build/mc_check.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line check.cpp /builddir/build/BUILD/cppcheck-2.9/lib/check.cpp => build/mc_check.cpp [ 2%] Generating build/mc_check64bit.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line check64bit.cpp /builddir/build/BUILD/cppcheck-2.9/lib/check64bit.cpp => build/mc_check64bit.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_aboutdialog.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_applicationdialog.cpp", because it doesn't exist, from "SRC:/gui/applicationdialog.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_applicationdialog.cpp /builddir/build/BUILD/cppcheck-2.9/gui/applicationdialog.h [ 2%] Generating build/mc_checkassert.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkassert.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checkassert.cpp => build/mc_checkassert.cpp [ 2%] Generating build/mc_checkautovariables.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkautovariables.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checkautovariables.cpp => build/mc_checkautovariables.cpp [ 2%] Generating build/mc_checkbool.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkbool.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checkbool.cpp => build/mc_checkbool.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_applicationdialog.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_applicationlist.cpp", because it doesn't exist, from "SRC:/gui/applicationlist.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_applicationlist.cpp /builddir/build/BUILD/cppcheck-2.9/gui/applicationlist.h [ 3%] Generating build/mc_checkboost.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkboost.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checkboost.cpp => build/mc_checkboost.cpp [ 3%] Generating build/mc_checkbufferoverrun.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkbufferoverrun.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checkbufferoverrun.cpp => build/mc_checkbufferoverrun.cpp [ 3%] Generating build/mc_checkclass.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkclass.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_applicationlist.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_checkthread.cpp", because it doesn't exist, from "SRC:/gui/checkthread.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_checkthread.cpp /builddir/build/BUILD/cppcheck-2.9/gui/checkthread.h /builddir/build/BUILD/cppcheck-2.9/lib/checkclass.cpp => build/mc_checkclass.cpp [ 3%] Generating build/mc_checkcondition.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkcondition.cpp /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp/simplecpp.cpp:1069:22: warning: 'op' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (const char *op = "&^|"; *op; op++) { ~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp/simplecpp.cpp:1069:39: note: used in pointer arithmetic here for (const char *op = "&^|"; *op; op++) { ^~ /builddir/build/BUILD/cppcheck-2.9/lib/checkcondition.cpp => build/mc_checkcondition.cpp [ 4%] Generating build/mc_checkexceptionsafety.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkexceptionsafety.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checkexceptionsafety.cpp => build/mc_checkexceptionsafety.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_checkthread.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditor.cpp", because it doesn't exist, from "SRC:/gui/codeeditor.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditor.cpp /builddir/build/BUILD/cppcheck-2.9/gui/codeeditor.h [ 4%] Generating build/mc_checkfunctions.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkfunctions.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checkfunctions.cpp => build/mc_checkfunctions.cpp [ 4%] Generating build/mc_checkinternal.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkinternal.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checkinternal.cpp => build/mc_checkinternal.cpp [ 4%] Generating build/mc_checkio.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkio.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checkio.cpp => build/mc_checkio.cpp [ 5%] Generating build/mc_checkleakautovar.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkleakautovar.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditor.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstylecontrols.cpp", because it doesn't exist, from "SRC:/gui/codeeditstylecontrols.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstylecontrols.cpp /builddir/build/BUILD/cppcheck-2.9/gui/codeeditstylecontrols.h /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:158:34: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] define = 2 + argv[i]; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:194:32: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] path = 2 + argv[i]; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:222:33: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] undef = 2 + argv[i]; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:229:48: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mSettings->addons.emplace_back(argv[i]+8); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:232:47: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mSettings->addonPython.assign(argv[i]+15); /builddir/build/BUILD/cppcheck-2.9/lib/checkleakautovar.cpp => build/mc_checkleakautovar.cpp ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:251:46: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mSettings->clangExecutable = argv[i] + 8; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:255:81: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mSettings->configExcludePaths.insert(Path::fromNativeSeparators(argv[i] + 17)); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:260:56: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] const std::string cfgExcludesFile(23 + argv[i]); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:268:66: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mSettings->buildDir = Path::fromNativeSeparators(argv[i] + 21); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:312:66: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] const std::string errmsg = mSettings->addEnabled(argv[i] + 9); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:334:42: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] const std::string temp = argv[i]+17; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:350:58: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] const std::string exceptionOutfilename = argv[i] + 21; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:362:45: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] std::string filename = 24 + argv[i]; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:378:53: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mSettings->fileFilters.emplace_back(argv[i] + 14); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:383:37: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] addFilesToList(12 + argv[i], mPathNames); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:413:32: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] path = 2 + argv[i]; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:431:81: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mSettings->userIncludes.emplace_back(Path::fromNativeSeparators(argv[i] + 10)); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:436:53: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] const std::string includesFile(16 + argv[i]); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:468:36: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] numberString = argv[i]+2; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:501:36: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] numberString = argv[i]+2; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:514:21: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (argv[i][2]) { ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:515:27: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] str = argv[i]+11; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:537:51: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mSettings->libraries.emplace_back(argv[i] + 10); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:544:43: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] std::istringstream iss(14+argv[i]); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:560:52: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mSettings->maxCtuDepth = std::atoi(argv[i] + 16); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:564:87: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mSettings->outputFile = Path::simplifyPath(Path::fromNativeSeparators(argv[i] + 14)); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:568:47: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] const std::string platform(11+argv[i]); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:595:88: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mSettings->plistOutput = Path::simplifyPath(Path::fromNativeSeparators(argv[i] + 15)); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:615:62: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mSettings->premiumArgs += "--" + std::string(argv[i] + 10); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:621:49: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] const std::string projectFile = argv[i]+10; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:684:29: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mVSConfig = argv[i] + 24; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:698:21: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (argv[i][argv[i][3]=='='?4:17] != 0) { ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:698:29: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (argv[i][argv[i][3]=='='?4:17] != 0) { ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:699:41: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] std::string paths = argv[i]+(argv[i][3]=='='?4:17); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:699:50: warning: unsafe buffer access [-Wunsafe-buffer-usage] std::string paths = argv[i]+(argv[i][3]=='='?4:17); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:724:36: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] rule.pattern = 7 + argv[i]; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:731:37: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] if (doc.LoadFile(12+argv[i]) == tinyxml2::XML_SUCCESS) { ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:766:78: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] printError("unable to load rule-file: " + std::string(12+argv[i])); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:774:50: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] const std::string showtimeMode = argv[i] + 11; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:791:41: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] const std::string std = argv[i] + 6; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:806:49: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] const std::string suppression = argv[i]+11; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:816:40: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] std::string filename = argv[i]+20; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:842:41: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] const char * filename = argv[i] + 15; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:854:21: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (argv[i][10] == '=') ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:855:49: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mSettings->templateFormat = argv[i] + 11; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:887:21: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (argv[i][19] == '=') ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:888:51: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] mSettings->templateLocation = argv[i] + 20; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:914:48: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] const std::string numberString(argv[i]+14); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:125:63: warning: 'argv' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] bool CmdLineParser::parseFromArgs(int argc, const char* const argv[]) ~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:141:13: note: used in buffer access here if (argv[i][0] == '-') { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:149:38: note: used in buffer access here if (i >= argc || argv[i][0] == '-') { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:143:30: note: used in buffer access here if (std::strncmp(argv[i], "-D", 2) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:147:33: note: used in buffer access here if (std::strcmp(argv[i], "-D") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:287:34: note: used in buffer access here else if (std::strcmp(argv[i], "--debug-warnings") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:291:34: note: used in buffer access here else if (std::strcmp(argv[i], "--doc") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:308:34: note: used in buffer access here else if (std::strcmp(argv[i], "--dump") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:311:35: note: used in buffer access here else if (std::strncmp(argv[i], "--enable=", 9) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:312:66: note: used in buffer access here const std::string errmsg = mSettings->addEnabled(argv[i] + 9); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:326:34: note: used in buffer access here else if (std::strcmp(argv[i], "--errorlist") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:333:35: note: used in buffer access here else if (std::strncmp(argv[i], "--error-exitcode=", 17) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:334:42: note: used in buffer access here const std::string temp = argv[i]+17; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:344:34: note: used in buffer access here else if (std::strcmp(argv[i], "--exception-handling") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:349:35: note: used in buffer access here else if (std::strncmp(argv[i], "--exception-handling=", 21) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:350:58: note: used in buffer access here const std::string exceptionOutfilename = argv[i] + 21; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:360:35: note: used in buffer access here else if (std::strncmp(argv[i], "--exitcode-suppressions=", 24) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:362:45: note: used in buffer access here std::string filename = 24 + argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:377:35: note: used in buffer access here else if (std::strncmp(argv[i], "--file-filter=", 14) == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:378:53: note: used in buffer access here mSettings->fileFilters.emplace_back(argv[i] + 14); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:710:77: note: used in buffer access here printError("no paths specified for the '" + std::string(argv[i]) + "' option."); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:716:34: note: used in buffer access here else if (std::strcmp(argv[i], "--report-progress") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:722:35: note: used in buffer access here else if (std::strncmp(argv[i], "--rule=", 7) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:724:36: note: used in buffer access here rule.pattern = 7 + argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:729:35: note: used in buffer access here else if (std::strncmp(argv[i], "--rule-file=", 12) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:731:37: note: used in buffer access here if (doc.LoadFile(12+argv[i]) == tinyxml2::XML_SUCCESS) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:766:78: note: used in buffer access here printError("unable to load rule-file: " + std::string(12+argv[i])); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:773:35: note: used in buffer access here else if (std::strncmp(argv[i], "--showtime=", 11) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:774:50: note: used in buffer access here const std::string showtimeMode = argv[i] + 11; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:790:35: note: used in buffer access here else if (std::strncmp(argv[i], "--std=", 6) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:791:41: note: used in buffer access here const std::string std = argv[i] + 6; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:805:35: note: used in buffer access here else if (std::strncmp(argv[i], "--suppress=", 11) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:806:49: note: used in buffer access here const std::string suppression = argv[i]+11; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:815:35: note: used in buffer access here else if (std::strncmp(argv[i], "--suppressions-list=", 20) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:816:40: note: used in buffer access here std::string filename = argv[i]+20; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:841:35: note: used in buffer access here else if (std::strncmp(argv[i], "--suppress-xml=", 15) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:381:35: note: used in buffer access here else if (std::strncmp(argv[i], "--file-list=", 12) == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:383:37: note: used in buffer access here addFilesToList(12 + argv[i], mPathNames); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:386:34: note: used in buffer access here else if (std::strcmp(argv[i], "-f") == 0 || std::strcmp(argv[i], "--force") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:386:69: note: used in buffer access here else if (std::strcmp(argv[i], "-f") == 0 || std::strcmp(argv[i], "--force") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:390:34: note: used in buffer access here else if (std::strcmp(argv[i], "-h") == 0 || std::strcmp(argv[i], "--help") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:390:69: note: used in buffer access here else if (std::strcmp(argv[i], "-h") == 0 || std::strcmp(argv[i], "--help") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:398:35: note: used in buffer access here else if (std::strncmp(argv[i], "-i", 2) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:402:33: note: used in buffer access here if (std::strcmp(argv[i], "-i") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:404:38: note: used in buffer access here if (i >= argc || argv[i][0] == '-') { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:408:28: note: used in buffer access here path = argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:413:32: note: used in buffer access here path = 2 + argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:430:35: note: used in buffer access here else if (std::strncmp(argv[i], "--include=", 10) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:431:81: note: used in buffer access here mSettings->userIncludes.emplace_back(Path::fromNativeSeparators(argv[i] + 10)); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:434:35: note: used in buffer access here else if (std::strncmp(argv[i], "--includes-file=", 16) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:436:53: note: used in buffer access here const std::string includesFile(16 + argv[i]); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:154:30: note: used in buffer access here define = argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:158:34: note: used in buffer access here define = 2 + argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:173:34: note: used in buffer access here else if (std::strcmp(argv[i], "-E") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:179:35: note: used in buffer access here else if (std::strncmp(argv[i], "-I", 2) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:183:33: note: used in buffer access here if (std::strcmp(argv[i], "-I") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:185:38: note: used in buffer access here if (i >= argc || argv[i][0] == '-') { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:189:28: note: used in buffer access here path = argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:194:32: note: used in buffer access here path = 2 + argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:207:35: note: used in buffer access here else if (std::strncmp(argv[i], "-U", 2) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:211:33: note: used in buffer access here if (std::strcmp(argv[i], "-U") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:213:38: note: used in buffer access here if (i >= argc || argv[i][0] == '-') { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:218:29: note: used in buffer access here undef = argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:222:33: note: used in buffer access here undef = 2 + argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:228:35: note: used in buffer access here else if (std::strncmp(argv[i], "--addon=", 8) == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:229:48: note: used in buffer access here mSettings->addons.emplace_back(argv[i]+8); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:231:35: note: used in buffer access here else if (std::strncmp(argv[i],"--addon-python=", 15) == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:515:27: note: used in buffer access here str = argv[i]+11; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:518:38: note: used in buffer access here if (i >= argc || argv[i][0] == '-') { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:522:27: note: used in buffer access here str = argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:536:35: note: used in buffer access here else if (std::strncmp(argv[i], "--library=", 10) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:537:51: note: used in buffer access here mSettings->libraries.emplace_back(argv[i] + 10); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:541:35: note: used in buffer access here else if (std::strncmp(argv[i], "--max-configs=", 14) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:544:43: note: used in buffer access here std::istringstream iss(14+argv[i]); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:559:35: note: used in buffer access here else if (std::strncmp(argv[i], "--max-ctu-depth=", 16) == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:560:52: note: used in buffer access here mSettings->maxCtuDepth = std::atoi(argv[i] + 16); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:563:35: note: used in buffer access here else if (std::strncmp(argv[i], "--output-file=", 14) == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:564:87: note: used in buffer access here mSettings->outputFile = Path::simplifyPath(Path::fromNativeSeparators(argv[i] + 14)); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:567:35: note: used in buffer access here else if (std::strncmp(argv[i], "--platform=", 11) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:568:47: note: used in buffer access here const std::string platform(11+argv[i]); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:594:35: note: used in buffer access here else if (std::strncmp(argv[i], "--plist-output=", 15) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:842:41: note: used in buffer access here const char * filename = argv[i] + 15; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:851:34: note: used in buffer access here else if (std::strcmp(argv[i], "--template") == 0 || ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:852:35: note: used in buffer access here std::strncmp(argv[i], "--template=", 11) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:854:21: note: used in buffer access here if (argv[i][10] == '=') ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:855:49: note: used in buffer access here mSettings->templateFormat = argv[i] + 11; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:856:42: note: used in buffer access here else if ((i+1) < argc && argv[i+1][0] != '-') { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:858:49: note: used in buffer access here mSettings->templateFormat = argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:884:34: note: used in buffer access here else if (std::strcmp(argv[i], "--template-location") == 0 || ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:885:35: note: used in buffer access here std::strncmp(argv[i], "--template-location=", 20) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:887:21: note: used in buffer access here if (argv[i][19] == '=') ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:888:51: note: used in buffer access here mSettings->templateLocation = argv[i] + 20; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:889:42: note: used in buffer access here else if ((i+1) < argc && argv[i+1][0] != '-') { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:891:51: note: used in buffer access here mSettings->templateLocation = argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:898:34: note: used in buffer access here else if (std::strcmp(argv[i], "-v") == 0 || std::strcmp(argv[i], "--verbose") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:898:69: note: used in buffer access here else if (std::strcmp(argv[i], "-v") == 0 || std::strcmp(argv[i], "--verbose") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:901:34: note: used in buffer access here else if (std::strcmp(argv[i], "--version") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:909:34: note: used in buffer access here else if (std::strcmp(argv[i], "--xml") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:913:35: note: used in buffer access here else if (std::strncmp(argv[i], "--xml-version=", 14) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:914:48: note: used in buffer access here const std::string numberString(argv[i]+14); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:934:28: note: used in buffer access here message += argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:444:34: note: used in buffer access here else if (std::strcmp(argv[i], "--inconclusive") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:448:34: note: used in buffer access here else if (std::strcmp(argv[i], "--inline-suppr") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:452:35: note: used in buffer access here else if (std::strncmp(argv[i], "-j", 2) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:456:33: note: used in buffer access here if (std::strcmp(argv[i], "-j") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:458:38: note: used in buffer access here if (i >= argc || argv[i][0] == '-') { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:463:36: note: used in buffer access here numberString = argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:468:36: note: used in buffer access here numberString = argv[i]+2; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:485:35: note: used in buffer access here else if (std::strncmp(argv[i], "-l", 2) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:489:33: note: used in buffer access here if (std::strcmp(argv[i], "-l") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:491:38: note: used in buffer access here if (i >= argc || argv[i][0] == '-') { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:496:36: note: used in buffer access here numberString = argv[i]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:501:36: note: used in buffer access here numberString = argv[i]+2; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:512:35: note: used in buffer access here else if (std::strncmp(argv[i], "--language=", 11) == 0 || std::strcmp(argv[i], "-x") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:512:83: note: used in buffer access here else if (std::strncmp(argv[i], "--language=", 11) == 0 || std::strcmp(argv[i], "-x") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:514:21: note: used in buffer access here if (argv[i][2]) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:595:88: note: used in buffer access here mSettings->plistOutput = Path::simplifyPath(Path::fromNativeSeparators(argv[i] + 15)); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:612:35: note: used in buffer access here else if (std::strncmp(argv[i], "--premium=", 10) == 0 && isCppcheckPremium()) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:615:62: note: used in buffer access here mSettings->premiumArgs += "--" + std::string(argv[i] + 10); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:619:35: note: used in buffer access here else if (std::strncmp(argv[i], "--project=", 10) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:621:49: note: used in buffer access here const std::string projectFile = argv[i]+10; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:683:35: note: used in buffer access here else if (std::strncmp(argv[i], "--project-configuration=", 24) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:684:29: note: used in buffer access here mVSConfig = argv[i] + 24; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:690:34: note: used in buffer access here else if (std::strcmp(argv[i], "-q") == 0 || std::strcmp(argv[i], "--quiet") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:690:69: note: used in buffer access here else if (std::strcmp(argv[i], "-q") == 0 || std::strcmp(argv[i], "--quiet") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:694:34: note: used in buffer access here else if (std::strcmp(argv[i], "-rp") == 0 || std::strcmp(argv[i], "--relative-paths") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:694:70: note: used in buffer access here else if (std::strcmp(argv[i], "-rp") == 0 || std::strcmp(argv[i], "--relative-paths") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:696:35: note: used in buffer access here else if (std::strncmp(argv[i], "-rp=", 4) == 0 || std::strncmp(argv[i], "--relative-paths=", 17) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:696:76: note: used in buffer access here else if (std::strncmp(argv[i], "-rp=", 4) == 0 || std::strncmp(argv[i], "--relative-paths=", 17) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:698:21: note: used in buffer access here if (argv[i][argv[i][3]=='='?4:17] != 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:698:29: note: used in buffer access here if (argv[i][argv[i][3]=='='?4:17] != 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:699:41: note: used in buffer access here std::string paths = argv[i]+(argv[i][3]=='='?4:17); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:699:50: note: used in buffer access here std::string paths = argv[i]+(argv[i][3]=='='?4:17); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:232:47: note: used in buffer access here mSettings->addonPython.assign(argv[i]+15); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:235:34: note: used in buffer access here else if (std::strcmp(argv[i], "--check-config") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:239:34: note: used in buffer access here else if (std::strcmp(argv[i], "--check-library") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:245:34: note: used in buffer access here else if (std::strcmp(argv[i], "--clang") == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:249:35: note: used in buffer access here else if (std::strncmp(argv[i], "--clang=", 8) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:251:46: note: used in buffer access here mSettings->clangExecutable = argv[i] + 8; ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:254:35: note: used in buffer access here else if (std::strncmp(argv[i], "--config-exclude=",17) ==0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:255:81: note: used in buffer access here mSettings->configExcludePaths.insert(Path::fromNativeSeparators(argv[i] + 17)); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:258:35: note: used in buffer access here else if (std::strncmp(argv[i], "--config-excludes-file=", 23) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:260:56: note: used in buffer access here const std::string cfgExcludesFile(23 + argv[i]); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:267:35: note: used in buffer access here else if (std::strncmp(argv[i], "--cppcheck-build-dir=", 21) == 0) { ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:268:66: note: used in buffer access here mSettings->buildDir = Path::fromNativeSeparators(argv[i] + 21); ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:274:34: note: used in buffer access here else if (std::strcmp(argv[i], "--debug") == 0 || ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:275:34: note: used in buffer access here std::strcmp(argv[i], "--debug-normal") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:279:34: note: used in buffer access here else if (std::strcmp(argv[i], "--debug-simplified") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:283:34: note: used in buffer access here else if (std::strcmp(argv[i], "--debug-template") == 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/cli/cmdlineparser.cpp:942:91: note: used in buffer access here mPathNames.emplace_back(Path::fromNativeSeparators(Path::removeQuotationMarks(argv[i]))); ^~~~ [ 5%] Generating build/mc_checkmemoryleak.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkmemoryleak.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checkmemoryleak.cpp => build/mc_checkmemoryleak.cpp [ 5%] Generating build/mc_checknullpointer.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checknullpointer.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checknullpointer.cpp => build/mc_checknullpointer.cpp [ 6%] Generating build/mc_checkother.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkother.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstylecontrols.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp", because it doesn't exist, from "SRC:/gui/codeeditstyledialog.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp /builddir/build/BUILD/cppcheck-2.9/gui/codeeditstyledialog.h /builddir/build/BUILD/cppcheck-2.9/lib/checkother.cpp => build/mc_checkother.cpp [ 6%] Generating build/mc_checkpostfixoperator.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkpostfixoperator.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checkpostfixoperator.cpp => build/mc_checkpostfixoperator.cpp [ 6%] Generating build/mc_checksizeof.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checksizeof.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checksizeof.cpp => build/mc_checksizeof.cpp [ 6%] Generating build/mc_checkstl.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkstl.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_fileviewdialog.cpp", because it doesn't exist, from "SRC:/gui/fileviewdialog.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_fileviewdialog.cpp /builddir/build/BUILD/cppcheck-2.9/gui/fileviewdialog.h /builddir/build/BUILD/cppcheck-2.9/lib/checkstl.cpp => build/mc_checkstl.cpp [ 8%] Generating build/mc_checkstring.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkstring.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checkstring.cpp => build/mc_checkstring.cpp [ 8%] Generating build/mc_checktype.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checktype.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checktype.cpp => build/mc_checktype.cpp [ 8%] Generating build/mc_checkuninitvar.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkuninitvar.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_fileviewdialog.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_helpdialog.cpp", because it doesn't exist, from "SRC:/gui/helpdialog.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_helpdialog.cpp /builddir/build/BUILD/cppcheck-2.9/gui/helpdialog.h /builddir/build/BUILD/cppcheck-2.9/lib/checkuninitvar.cpp => build/mc_checkuninitvar.cpp [ 8%] Generating build/mc_checkunusedfunctions.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkunusedfunctions.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checkunusedfunctions.cpp => build/mc_checkunusedfunctions.cpp [ 9%] Generating build/mc_checkunusedvar.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkunusedvar.cpp /builddir/build/BUILD/cppcheck-2.9/lib/checkunusedvar.cpp => build/mc_checkunusedvar.cpp [ 9%] Generating build/mc_checkvaarg.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line checkvaarg.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_helpdialog.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_libraryaddfunctiondialog.cpp", because it doesn't exist, from "SRC:/gui/libraryaddfunctiondialog.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_libraryaddfunctiondialog.cpp /builddir/build/BUILD/cppcheck-2.9/gui/libraryaddfunctiondialog.h /builddir/build/BUILD/cppcheck-2.9/lib/checkvaarg.cpp => build/mc_checkvaarg.cpp [ 9%] Generating build/mc_clangimport.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line clangimport.cpp /builddir/build/BUILD/cppcheck-2.9/lib/clangimport.cpp => build/mc_clangimport.cpp [ 9%] Generating build/mc_color.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line color.cpp /builddir/build/BUILD/cppcheck-2.9/lib/color.cpp => build/mc_color.cpp [ 10%] Generating build/mc_cppcheck.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line cppcheck.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_libraryaddfunctiondialog.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_librarydialog.cpp", because it doesn't exist, from "SRC:/gui/librarydialog.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_librarydialog.cpp /builddir/build/BUILD/cppcheck-2.9/gui/librarydialog.h /builddir/build/BUILD/cppcheck-2.9/lib/cppcheck.cpp => build/mc_cppcheck.cpp [ 10%] Generating build/mc_ctu.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line ctu.cpp /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp => build/mc_ctu.cpp [ 10%] Generating build/mc_errorlogger.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line errorlogger.cpp /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp => build/mc_errorlogger.cpp [ 10%] Generating build/mc_errortypes.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line errortypes.cpp /builddir/build/BUILD/cppcheck-2.9/lib/errortypes.cpp => build/mc_errortypes.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_librarydialog.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_libraryeditargdialog.cpp", because it doesn't exist, from "SRC:/gui/libraryeditargdialog.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_libraryeditargdialog.cpp /builddir/build/BUILD/cppcheck-2.9/gui/libraryeditargdialog.h [ 11%] Generating build/mc_forwardanalyzer.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line forwardanalyzer.cpp /builddir/build/BUILD/cppcheck-2.9/lib/forwardanalyzer.cpp => build/mc_forwardanalyzer.cpp [ 11%] Generating build/mc_importproject.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line importproject.cpp /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp => build/mc_importproject.cpp 49 warnings generated. [ 11%] Generating build/mc_infer.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line infer.cpp [ 11%] Building CXX object cli/CMakeFiles/cli_objs.dir/cppcheckexecutor.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT cli/CMakeFiles/cli_objs.dir/cppcheckexecutor.cpp.o -MF CMakeFiles/cli_objs.dir/cppcheckexecutor.cpp.o.d -o CMakeFiles/cli_objs.dir/cppcheckexecutor.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/cli/cppcheckexecutor.cpp /builddir/build/BUILD/cppcheck-2.9/lib/infer.cpp => build/mc_infer.cpp [ 12%] Generating build/mc_library.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_libraryeditargdialog.cpp.d" cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line library.cpp AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_mainwindow.cpp", because it doesn't exist, from "SRC:/gui/mainwindow.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_mainwindow.cpp /builddir/build/BUILD/cppcheck-2.9/gui/mainwindow.h /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp => build/mc_library.cpp [ 12%] Generating build/mc_mathlib.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line mathlib.cpp /builddir/build/BUILD/cppcheck-2.9/lib/mathlib.cpp => build/mc_mathlib.cpp [ 12%] Generating build/mc_path.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line path.cpp /builddir/build/BUILD/cppcheck-2.9/lib/path.cpp => build/mc_path.cpp [ 12%] Generating build/mc_pathanalysis.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line pathanalysis.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_mainwindow.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_newsuppressiondialog.cpp", because it doesn't exist, from "SRC:/gui/newsuppressiondialog.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_newsuppressiondialog.cpp /builddir/build/BUILD/cppcheck-2.9/gui/newsuppressiondialog.h /builddir/build/BUILD/cppcheck-2.9/lib/pathanalysis.cpp => build/mc_pathanalysis.cpp [ 13%] Generating build/mc_pathmatch.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line pathmatch.cpp /builddir/build/BUILD/cppcheck-2.9/lib/pathmatch.cpp => build/mc_pathmatch.cpp [ 13%] Generating build/mc_platform.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line platform.cpp /builddir/build/BUILD/cppcheck-2.9/lib/platform.cpp => build/mc_platform.cpp [ 13%] Generating build/mc_preprocessor.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line preprocessor.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_newsuppressiondialog.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_platforms.cpp", because it doesn't exist, from "SRC:/gui/platforms.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_platforms.cpp /builddir/build/BUILD/cppcheck-2.9/gui/platforms.h /builddir/build/BUILD/cppcheck-2.9/lib/preprocessor.cpp => build/mc_preprocessor.cpp [ 13%] Generating build/mc_programmemory.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line programmemory.cpp /builddir/build/BUILD/cppcheck-2.9/lib/programmemory.cpp => build/mc_programmemory.cpp [ 15%] Generating build/mc_reverseanalyzer.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line reverseanalyzer.cpp /builddir/build/BUILD/cppcheck-2.9/lib/reverseanalyzer.cpp => build/mc_reverseanalyzer.cpp [ 15%] Generating build/mc_settings.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line settings.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_platforms.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_projectfile.cpp", because it doesn't exist, from "SRC:/gui/projectfile.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_projectfile.cpp /builddir/build/BUILD/cppcheck-2.9/gui/projectfile.h /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp => build/mc_settings.cpp [ 15%] Generating build/mc_summaries.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line summaries.cpp /builddir/build/BUILD/cppcheck-2.9/lib/summaries.cpp => build/mc_summaries.cpp [ 15%] Generating build/mc_suppressions.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line suppressions.cpp /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp => build/mc_suppressions.cpp [ 16%] Generating build/mc_symboldatabase.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line symboldatabase.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_projectfile.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_projectfiledialog.cpp", because it doesn't exist, from "SRC:/gui/projectfiledialog.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_projectfiledialog.cpp /builddir/build/BUILD/cppcheck-2.9/gui/projectfiledialog.h /builddir/build/BUILD/cppcheck-2.9/lib/symboldatabase.cpp => build/mc_symboldatabase.cpp [ 16%] Generating build/mc_templatesimplifier.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line templatesimplifier.cpp /builddir/build/BUILD/cppcheck-2.9/lib/templatesimplifier.cpp => build/mc_templatesimplifier.cpp [ 16%] Generating build/mc_timer.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line timer.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_projectfiledialog.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp", because it doesn't exist, from "SRC:/gui/resultstree.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp /builddir/build/BUILD/cppcheck-2.9/gui/resultstree.h /builddir/build/BUILD/cppcheck-2.9/lib/timer.cpp => build/mc_timer.cpp [ 16%] Generating build/mc_token.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line token.cpp /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp => build/mc_token.cpp [ 17%] Generating build/mc_tokenize.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line tokenize.cpp /builddir/build/BUILD/cppcheck-2.9/lib/tokenize.cpp => build/mc_tokenize.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp", because it doesn't exist, from "SRC:/gui/resultsview.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp /builddir/build/BUILD/cppcheck-2.9/gui/resultsview.h [ 17%] Generating build/mc_tokenlist.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line tokenlist.cpp /builddir/build/BUILD/cppcheck-2.9/lib/tokenlist.cpp => build/mc_tokenlist.cpp [ 17%] Generating build/mc_utils.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/python3 /builddir/build/BUILD/cppcheck-2.9/tools/matchcompiler.py --read-dir="/builddir/build/BUILD/cppcheck-2.9/lib" --prefix="mc_" --line utils.cpp /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp => build/mc_utils.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/lib /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f lib/CMakeFiles/lib_objs.dir/build.make lib/CMakeFiles/lib_objs.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 18%] Building CXX object lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -fpch-instantiate-templates -Xclang -emit-pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -x c++-header -MD -MT lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -MF CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch.d -o CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.cxx AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_scratchpad.cpp", because it doesn't exist, from "SRC:/gui/scratchpad.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_scratchpad.cpp /builddir/build/BUILD/cppcheck-2.9/gui/scratchpad.h AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_scratchpad.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_settingsdialog.cpp", because it doesn't exist, from "SRC:/gui/settingsdialog.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_settingsdialog.cpp /builddir/build/BUILD/cppcheck-2.9/gui/settingsdialog.h AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_settingsdialog.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_statsdialog.cpp", because it doesn't exist, from "SRC:/gui/statsdialog.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_statsdialog.cpp /builddir/build/BUILD/cppcheck-2.9/gui/statsdialog.h AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_statsdialog.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadhandler.cpp", because it doesn't exist, from "SRC:/gui/threadhandler.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadhandler.cpp /builddir/build/BUILD/cppcheck-2.9/gui/threadhandler.h AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadhandler.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadresult.cpp", because it doesn't exist, from "SRC:/gui/threadresult.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadresult.cpp /builddir/build/BUILD/cppcheck-2.9/gui/threadresult.h AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadresult.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_translationhandler.cpp", because it doesn't exist, from "SRC:/gui/translationhandler.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_translationhandler.cpp /builddir/build/BUILD/cppcheck-2.9/gui/translationhandler.h [ 18%] Building CXX object cli/CMakeFiles/cli_objs.dir/cppcheckexecutorseh.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT cli/CMakeFiles/cli_objs.dir/cppcheckexecutorseh.cpp.o -MF CMakeFiles/cli_objs.dir/cppcheckexecutorseh.cpp.o.d -o CMakeFiles/cli_objs.dir/cppcheckexecutorseh.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/cli/cppcheckexecutorseh.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_translationhandler.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_txtreport.cpp", because it doesn't exist, from "SRC:/gui/txtreport.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtHelp -I/usr/include/qt5/QtSql -I/usr/include -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_txtreport.cpp /builddir/build/BUILD/cppcheck-2.9/gui/txtreport.h AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_txtreport.cpp.d" AutoMoc: Generating MOC compilation "SRC:/redhat-linux-build/gui/cppcheck-gui_autogen/mocs_compilation.cpp" AutoGen: Writing the parse cache file "SRC:/redhat-linux-build/gui/CMakeFiles/cppcheck-gui_autogen.dir/ParseCache.txt" AutoGen: Writing the settings file "SRC:/redhat-linux-build/gui/CMakeFiles/cppcheck-gui_autogen.dir/AutogenUsed.txt" gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 19%] Building CXX object cli/CMakeFiles/cli_objs.dir/cppcheckexecutorsig.cpp.o [ 19%] Built target cppcheck-gui_autogen cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT cli/CMakeFiles/cli_objs.dir/cppcheckexecutorsig.cpp.o -MF CMakeFiles/cli_objs.dir/cppcheckexecutorsig.cpp.o.d -o CMakeFiles/cli_objs.dir/cppcheckexecutorsig.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/cli/cppcheckexecutorsig.cpp /usr/bin/gmake -f gui/test/cppchecklibrarydata/CMakeFiles/test-cppchecklibrarydata.dir/build.make gui/test/cppchecklibrarydata/CMakeFiles/test-cppchecklibrarydata.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 19%] Generating moc_testcppchecklibrarydata.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/cppchecklibrarydata && /usr/lib64/qt5/bin/moc @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/cppchecklibrarydata/moc_testcppchecklibrarydata.cpp_parameters cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/gui/test/cppchecklibrarydata /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/cppchecklibrarydata /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/cppchecklibrarydata/CMakeFiles/test-cppchecklibrarydata.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f gui/test/cppchecklibrarydata/CMakeFiles/test-cppchecklibrarydata.dir/build.make gui/test/cppchecklibrarydata/CMakeFiles/test-cppchecklibrarydata.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 19%] Building CXX object gui/test/cppchecklibrarydata/CMakeFiles/test-cppchecklibrarydata.dir/moc_testcppchecklibrarydata.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/cppchecklibrarydata && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/cppchecklibrarydata -I/builddir/build/BUILD/cppcheck-2.9/gui/test/cppchecklibrarydata -I/builddir/build/BUILD/cppcheck-2.9/gui -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/cppchecklibrarydata/CMakeFiles/test-cppchecklibrarydata.dir/moc_testcppchecklibrarydata.cpp.o -MF CMakeFiles/test-cppchecklibrarydata.dir/moc_testcppchecklibrarydata.cpp.o.d -o CMakeFiles/test-cppchecklibrarydata.dir/moc_testcppchecklibrarydata.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/cppchecklibrarydata/moc_testcppchecklibrarydata.cpp 1 warning generated. gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 19%] Built target simplecpp_objs /usr/bin/gmake -f gui/test/projectfile/CMakeFiles/test-projectfile.dir/build.make gui/test/projectfile/CMakeFiles/test-projectfile.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 20%] Generating moc_testprojectfile.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile && /usr/lib64/qt5/bin/moc @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile/moc_testprojectfile.cpp_parameters [ 20%] Generating __/__/moc_projectfile.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile/__/__ && /usr/lib64/qt5/bin/moc @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile/__/__/moc_projectfile.cpp_parameters cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/gui/test/projectfile /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile/CMakeFiles/test-projectfile.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f gui/test/projectfile/CMakeFiles/test-projectfile.dir/build.make gui/test/projectfile/CMakeFiles/test-projectfile.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 20%] Building CXX object gui/test/projectfile/CMakeFiles/test-projectfile.dir/moc_testprojectfile.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/projectfile\" -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile -I/builddir/build/BUILD/cppcheck-2.9/gui/test/projectfile -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/projectfile/CMakeFiles/test-projectfile.dir/moc_testprojectfile.cpp.o -MF CMakeFiles/test-projectfile.dir/moc_testprojectfile.cpp.o.d -o CMakeFiles/test-projectfile.dir/moc_testprojectfile.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile/moc_testprojectfile.cpp [ 20%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_analyzerinfo.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_analyzerinfo.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_analyzerinfo.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_analyzerinfo.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_analyzerinfo.cpp [ 20%] Building CXX object cli/CMakeFiles/cli_objs.dir/executor.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT cli/CMakeFiles/cli_objs.dir/executor.cpp.o -MF CMakeFiles/cli_objs.dir/executor.cpp.o.d -o CMakeFiles/cli_objs.dir/executor.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/cli/executor.cpp [ 20%] Building CXX object cli/CMakeFiles/cli_objs.dir/filelister.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT cli/CMakeFiles/cli_objs.dir/filelister.cpp.o -MF CMakeFiles/cli_objs.dir/filelister.cpp.o.d -o CMakeFiles/cli_objs.dir/filelister.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/cli/filelister.cpp [ 20%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_astutils.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_astutils.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_astutils.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_astutils.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp [ 22%] Building CXX object gui/test/cppchecklibrarydata/CMakeFiles/test-cppchecklibrarydata.dir/testcppchecklibrarydata.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/cppchecklibrarydata && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/cppchecklibrarydata -I/builddir/build/BUILD/cppcheck-2.9/gui/test/cppchecklibrarydata -I/builddir/build/BUILD/cppcheck-2.9/gui -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/cppchecklibrarydata/CMakeFiles/test-cppchecklibrarydata.dir/testcppchecklibrarydata.cpp.o -MF CMakeFiles/test-cppchecklibrarydata.dir/testcppchecklibrarydata.cpp.o.d -o CMakeFiles/test-cppchecklibrarydata.dir/testcppchecklibrarydata.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/test/cppchecklibrarydata/testcppchecklibrarydata.cpp [ 22%] Building CXX object gui/test/projectfile/CMakeFiles/test-projectfile.dir/__/__/moc_projectfile.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/projectfile\" -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile -I/builddir/build/BUILD/cppcheck-2.9/gui/test/projectfile -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/projectfile/CMakeFiles/test-projectfile.dir/__/__/moc_projectfile.cpp.o -MF CMakeFiles/test-projectfile.dir/__/__/moc_projectfile.cpp.o.d -o CMakeFiles/test-projectfile.dir/__/__/moc_projectfile.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile/__/__/moc_projectfile.cpp [ 22%] Building CXX object cli/CMakeFiles/cli_objs.dir/processexecutor.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT cli/CMakeFiles/cli_objs.dir/processexecutor.cpp.o -MF CMakeFiles/cli_objs.dir/processexecutor.cpp.o.d -o CMakeFiles/cli_objs.dir/processexecutor.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/cli/processexecutor.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:11:73: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("(")) || ((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("{")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:11:73: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("(")) || ((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("{")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:47:48: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(tok->isName() || (tok->str() == MatchCompiler::makeConstString("::")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:53:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("static")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:53:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("static")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:53:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("static")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:53:168: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("static")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:74:91: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("string")) || (tok->str() == MatchCompiler::makeConstString("wstring")) || (tok->str() == MatchCompiler::makeConstString("u16string")) || (tok->str() == MatchCompiler::makeConstString("u32string")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:74:152: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("string")) || (tok->str() == MatchCompiler::makeConstString("wstring")) || (tok->str() == MatchCompiler::makeConstString("u16string")) || (tok->str() == MatchCompiler::makeConstString("u32string")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:74:152: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("string")) || (tok->str() == MatchCompiler::makeConstString("wstring")) || (tok->str() == MatchCompiler::makeConstString("u16string")) || (tok->str() == MatchCompiler::makeConstString("u32string")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:89:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("basic_string"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:89:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("basic_string"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:89:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("basic_string"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:880:226: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("static_cast")) || (tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:880:226: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("static_cast")) || (tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:880:226: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("static_cast")) || (tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_astutils.cpp:880:226: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("static_cast")) || (tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/cli/processexecutor.cpp:109:15: warning: 'out' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char *out = new char[len + 1 + sizeof(len)]; ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/processexecutor.cpp:111:23: note: used in buffer access here std::memcpy(&(out[1]), &len, sizeof(len)); ^~~ /builddir/build/BUILD/cppcheck-2.9/cli/processexecutor.cpp:112:23: note: used in buffer access here std::memcpy(&(out[1+sizeof(len)]), data.c_str(), len); ^~~ /builddir/build/BUILD/cppcheck-2.9/cli/processexecutor.cpp:151:11: warning: 'buf' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char *buf = new char[len + 1]; ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/processexecutor.cpp:157:5: note: used in buffer access here buf[readIntoBuf] = 0; ^~~ /builddir/build/BUILD/cppcheck-2.9/cli/processexecutor.cpp:295:13: warning: unsafe buffer access [-Wunsafe-buffer-usage] FD_ZERO(&rfds); ^~~~~~~~~~~~~~ /usr/include/sys/select.h:88:26: note: expanded from macro 'FD_ZERO' #define FD_ZERO(fdsetp) __FD_ZERO (fdsetp) ^~~~~~~~~~~~~~~~~~ /usr/include/bits/select.h:30:7: note: expanded from macro '__FD_ZERO' __FDS_BITS (__arr)[__i] = 0; \ ^~~~~~~~~~~~~~~~~~ /usr/include/sys/select.h:65:26: note: expanded from macro '__FDS_BITS' # define __FDS_BITS(set) ((set)->fds_bits) ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/processexecutor.cpp:297:17: warning: unsafe buffer access [-Wunsafe-buffer-usage] FD_SET(*rp, &rfds); ^~~~~~~~~~~~~~~~~~ /usr/include/sys/select.h:85:28: note: expanded from macro 'FD_SET' #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/select.h:33:12: note: expanded from macro '__FD_SET' ((void) (__FDS_BITS (s)[__FD_ELT(d)] |= __FD_MASK(d))) ^~~~~~~~~~~~~~ /usr/include/sys/select.h:65:26: note: expanded from macro '__FDS_BITS' # define __FDS_BITS(set) ((set)->fds_bits) ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/processexecutor.cpp:306:25: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (FD_ISSET(*rp, &rfds)) { ^~~~~~~~~~~~~~~~~~~~ /usr/include/sys/select.h:87:30: note: expanded from macro 'FD_ISSET' #define FD_ISSET(fd, fdsetp) __FD_ISSET (fd, fdsetp) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/select.h:37:5: note: expanded from macro '__FD_ISSET' ((__FDS_BITS (s)[__FD_ELT (d)] & __FD_MASK (d)) != 0) ^~~~~~~~~~~~~~ /usr/include/sys/select.h:65:26: note: expanded from macro '__FDS_BITS' # define __FDS_BITS(set) ((set)->fds_bits) ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/processexecutor.cpp:235:17: warning: 'pipes' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] int pipes[2]; ~~~~^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/processexecutor.cpp:281:19: note: used in buffer access here close(pipes[1]); ^~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/processexecutor.cpp:263:39: note: used in buffer access here PipeWriter pipewriter(pipes[1]); ^~~~~ [ 23%] Building CXX object gui/test/projectfile/CMakeFiles/test-projectfile.dir/testprojectfile.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/projectfile\" -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile -I/builddir/build/BUILD/cppcheck-2.9/gui/test/projectfile -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/projectfile/CMakeFiles/test-projectfile.dir/testprojectfile.cpp.o -MF CMakeFiles/test-projectfile.dir/testprojectfile.cpp.o.d -o CMakeFiles/test-projectfile.dir/testprojectfile.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/test/projectfile/testprojectfile.cpp [ 23%] Building CXX object gui/test/cppchecklibrarydata/CMakeFiles/test-cppchecklibrarydata.dir/__/__/cppchecklibrarydata.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/cppchecklibrarydata && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/cppchecklibrarydata -I/builddir/build/BUILD/cppcheck-2.9/gui/test/cppchecklibrarydata -I/builddir/build/BUILD/cppcheck-2.9/gui -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/cppchecklibrarydata/CMakeFiles/test-cppchecklibrarydata.dir/__/__/cppchecklibrarydata.cpp.o -MF CMakeFiles/test-cppchecklibrarydata.dir/__/__/cppchecklibrarydata.cpp.o.d -o CMakeFiles/test-cppchecklibrarydata.dir/__/__/cppchecklibrarydata.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/cppchecklibrarydata.cpp 6 warnings generated. [ 24%] Building CXX object cli/CMakeFiles/cli_objs.dir/stacktrace.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT cli/CMakeFiles/cli_objs.dir/stacktrace.cpp.o -MF CMakeFiles/cli_objs.dir/stacktrace.cpp.o.d -o CMakeFiles/cli_objs.dir/stacktrace.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/cli/stacktrace.cpp /builddir/build/BUILD/cppcheck-2.9/cli/stacktrace.cpp:36:11: warning: 'callstackArray' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] void *callstackArray[32]= {nullptr}; // the less resources the better... ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/stacktrace.cpp:45:30: note: used in pointer arithmetic here backtrace_symbols_fd(callstackArray+offset, maxdepth, fd); ^~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/stacktrace.cpp:47:16: warning: 'symbolStringList' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char **symbolStringList = backtrace_symbols(callstackArray, currentdepth); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/stacktrace.cpp:52:51: note: used in buffer access here const char * const symbolString = symbolStringList[i]; ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/stacktrace.cpp:54:36: warning: 'firstBracketName' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char * const firstBracketName = strchr(symbolString, '('); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/stacktrace.cpp:62:40: note: used in pointer arithmetic here if (plus && (plus>(firstBracketName+1))) { ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/stacktrace.cpp:64:47: note: used in pointer arithmetic here strncpy(input_buffer, firstBracketName+1, plus-firstBracketName-1); ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/stacktrace.cpp:55:36: warning: 'firstBracketAddress' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char * const firstBracketAddress = strchr(symbolString, '['); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/stacktrace.cpp:57:59: note: used in pointer arithmetic here const char * const beginAddress = firstBracketAddress+3; ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/stacktrace.cpp:80:80: note: used in pointer arithmetic here (int)(secondBracketAddress-firstBracketAddress-3), firstBracketAddress+3, ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/cli/stacktrace.cpp:84:80: note: used in pointer arithmetic here (int)(secondBracketAddress-firstBracketAddress-3), firstBracketAddress+3, ^~~~~~~~~~~~~~~~~~~ 4 warnings generated. [ 24%] Building CXX object cli/CMakeFiles/cli_objs.dir/threadexecutor.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT cli/CMakeFiles/cli_objs.dir/threadexecutor.cpp.o -MF CMakeFiles/cli_objs.dir/threadexecutor.cpp.o.d -o CMakeFiles/cli_objs.dir/threadexecutor.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/cli/threadexecutor.cpp 34 warnings generated. [ 25%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_check.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_check.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_check.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_check.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_check.cpp /builddir/build/BUILD/cppcheck-2.9/lib/check.cpp:90:75: warning: 'id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] std::string Check::getMessageId(const ValueFlow::Value &value, const char id[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/check.cpp:95:67: note: used in pointer arithmetic here return std::string("safe") + (char)std::toupper(id[0]) + (id + 1); ^~ 1 warning generated. [ 25%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_check64bit.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_check64bit.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_check64bit.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_check64bit.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_check64bit.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_check64bit.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_check64bit.cpp:8:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("int")) || (tok->str() == MatchCompiler::makeConstString("long")) || (tok->str() == MatchCompiler::makeConstString("DWORD")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_check64bit.cpp:8:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("int")) || (tok->str() == MatchCompiler::makeConstString("long")) || (tok->str() == MatchCompiler::makeConstString("DWORD")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_check64bit.cpp:8:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("int")) || (tok->str() == MatchCompiler::makeConstString("long")) || (tok->str() == MatchCompiler::makeConstString("DWORD")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_check64bit.cpp:8:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("int")) || (tok->str() == MatchCompiler::makeConstString("long")) || (tok->str() == MatchCompiler::makeConstString("DWORD")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_check64bit.cpp:8:88: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("int")) || (tok->str() == MatchCompiler::makeConstString("long")) || (tok->str() == MatchCompiler::makeConstString("DWORD")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_check64bit.cpp:8:146: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("int")) || (tok->str() == MatchCompiler::makeConstString("long")) || (tok->str() == MatchCompiler::makeConstString("DWORD")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/check64bit.cpp:71:28: note: in instantiation of function template specialization 'MatchCompiler::operator!=<7U>' requested here if (tok->str() != MatchCompiler::makeConstString("return")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 14 warnings generated. [ 25%] Building CXX object gui/test/projectfile/CMakeFiles/test-projectfile.dir/__/__/projectfile.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/projectfile\" -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile -I/builddir/build/BUILD/cppcheck-2.9/gui/test/projectfile -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/projectfile/CMakeFiles/test-projectfile.dir/__/__/projectfile.cpp.o -MF CMakeFiles/test-projectfile.dir/__/__/projectfile.cpp.o.d -o CMakeFiles/test-projectfile.dir/__/__/projectfile.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/projectfile.cpp [ 25%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkassert.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkassert.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkassert.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkassert.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkassert.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkassert.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkassert.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("assert"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkassert.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("assert"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkassert.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("assert"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkassert.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("assert"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkassert.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("assert"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkassert.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("assert"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkassert.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("assert"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ [ 25%] Linking CXX executable ../../../bin/test-cppchecklibrarydata cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/cppchecklibrarydata && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-cppchecklibrarydata.dir/link.txt --verbose=1 /usr/bin/clang++ -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -rdynamic "CMakeFiles/test-cppchecklibrarydata.dir/moc_testcppchecklibrarydata.cpp.o" "CMakeFiles/test-cppchecklibrarydata.dir/testcppchecklibrarydata.cpp.o" "CMakeFiles/test-cppchecklibrarydata.dir/__/__/cppchecklibrarydata.cpp.o" -o ../../../bin/test-cppchecklibrarydata /usr/lib64/libQt5Test.so.5.15.9 /usr/lib64/libQt5Core.so.5.15.9 14 warnings generated. [ 25%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkautovariables.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkautovariables.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkautovariables.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkautovariables.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkautovariables.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkautovariables.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkautovariables.cpp:11:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString(".")) || (tok->str() == MatchCompiler::makeConstString("::")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkautovariables.cpp:11:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString(".")) || (tok->str() == MatchCompiler::makeConstString("::")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkautovariables.cpp:11:86: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString(".")) || (tok->str() == MatchCompiler::makeConstString("::")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkautovariables.cpp:71:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkautovariables.cpp:269:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("delete"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkautovariables.cpp:269:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("delete"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkautovariables.cpp:269:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("delete"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkautovariables.cpp:362:326: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")) || (tok->str() == MatchCompiler::makeConstString("throw")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkautovariables.cpp:362:326: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")) || (tok->str() == MatchCompiler::makeConstString("throw")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 18 warnings generated. [ 26%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkbool.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkbool.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkbool.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkbool.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbool.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbool.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbool.cpp:8:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("bool")) || (tok->str() == MatchCompiler::makeConstString("_Bool")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbool.cpp:8:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("bool")) || (tok->str() == MatchCompiler::makeConstString("_Bool")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbool.cpp:8:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("bool")) || (tok->str() == MatchCompiler::makeConstString("_Bool")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbool.cpp:8:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("bool")) || (tok->str() == MatchCompiler::makeConstString("_Bool")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbool.cpp:8:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("bool")) || (tok->str() == MatchCompiler::makeConstString("_Bool")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbool.cpp:8:89: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("bool")) || (tok->str() == MatchCompiler::makeConstString("_Bool")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbool.cpp:73:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 26%] Built target cli_objs /usr/bin/gmake -f gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/build.make gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 26%] Generating moc_testtranslationhandler.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler && /usr/lib64/qt5/bin/moc @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler/moc_testtranslationhandler.cpp_parameters [ 27%] Generating __/__/moc_translationhandler.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler/__/__ && /usr/lib64/qt5/bin/moc @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler/__/__/moc_translationhandler.cpp_parameters cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/gui/test/translationhandler /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/build.make gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 27%] Building CXX object gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/moc_testtranslationhandler.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler -I/builddir/build/BUILD/cppcheck-2.9/gui/test/translationhandler -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/moc_testtranslationhandler.cpp.o -MF CMakeFiles/test-translationhandler.dir/moc_testtranslationhandler.cpp.o.d -o CMakeFiles/test-translationhandler.dir/moc_testtranslationhandler.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler/moc_testtranslationhandler.cpp 14 warnings generated. [ 27%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkboost.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkboost.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkboost.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkboost.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("BOOST_FOREACH"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("BOOST_FOREACH"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("BOOST_FOREACH"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("BOOST_FOREACH"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("BOOST_FOREACH"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("BOOST_FOREACH"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("BOOST_FOREACH"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("BOOST_FOREACH"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("BOOST_FOREACH"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("BOOST_FOREACH"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("BOOST_FOREACH"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("BOOST_FOREACH"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("BOOST_FOREACH"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkboost.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("BOOST_FOREACH"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ [ 27%] Linking CXX executable ../../../bin/test-projectfile cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/projectfile && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-projectfile.dir/link.txt --verbose=1 /usr/bin/clang++ -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -rdynamic "CMakeFiles/test-projectfile.dir/moc_testprojectfile.cpp.o" "CMakeFiles/test-projectfile.dir/__/__/moc_projectfile.cpp.o" "CMakeFiles/test-projectfile.dir/testprojectfile.cpp.o" "CMakeFiles/test-projectfile.dir/__/__/projectfile.cpp.o" -o ../../../bin/test-projectfile /usr/lib64/libQt5Test.so.5.15.9 /usr/lib64/libQt5Core.so.5.15.9 28 warnings generated. [ 27%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkbufferoverrun.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkbufferoverrun.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkbufferoverrun.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkbufferoverrun.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbufferoverrun.cpp [ 27%] Building CXX object gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/__/__/moc_translationhandler.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler -I/builddir/build/BUILD/cppcheck-2.9/gui/test/translationhandler -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/__/__/moc_translationhandler.cpp.o -MF CMakeFiles/test-translationhandler.dir/__/__/moc_translationhandler.cpp.o.d -o CMakeFiles/test-translationhandler.dir/__/__/moc_translationhandler.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler/__/__/moc_translationhandler.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbufferoverrun.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbufferoverrun.cpp:8:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString(".")) || (tok->str() == MatchCompiler::makeConstString("::")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbufferoverrun.cpp:8:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString(".")) || (tok->str() == MatchCompiler::makeConstString("::")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbufferoverrun.cpp:8:86: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString(".")) || (tok->str() == MatchCompiler::makeConstString("::")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbufferoverrun.cpp:62:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbufferoverrun.cpp:62:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbufferoverrun.cpp:62:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbufferoverrun.cpp:62:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkbufferoverrun.cpp:124:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("strncpy"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 27%] Built target test-cppchecklibrarydata /usr/bin/gmake -f tools/triage/CMakeFiles/triage_autogen.dir/build.make tools/triage/CMakeFiles/triage_autogen.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/tools/triage /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/CMakeFiles/triage_autogen.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f tools/triage/CMakeFiles/triage_autogen.dir/build.make tools/triage/CMakeFiles/triage_autogen.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 27%] Automatic MOC for target triage cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage && /usr/bin/cmake -E cmake_autogen /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/CMakeFiles/triage_autogen.dir/AutogenInfo.json Release AutoGen: Refreshing parse cache because it doesn't exist. AutoMoc: Generating "SRC:/redhat-linux-build/tools/triage/triage_autogen/moc_predefs.h", because it doesn't exist. /usr/bin/clang++ -dM -E -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_WIDGETS_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/gui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include -I/usr/include AutoGen: Parsing "SRC:/gui/codeeditor.h" AutoGen: Parsing "SRC:/gui/codeeditorstyle.h" AutoGen: Parsing "SRC:/tools/triage/mainwindow.h" AutoGen: Parsing "SRC:/gui/codeeditor.cpp" AutoGen: Parsing "SRC:/gui/codeeditorstyle.cpp" AutoGen: Parsing "SRC:/tools/triage/main.cpp" AutoGen: Parsing "SRC:/tools/triage/mainwindow.cpp" AutoMoc: Generating "SRC:/redhat-linux-build/tools/triage/triage_autogen/FNKB36652H/moc_codeeditor.cpp", because it doesn't exist, from "SRC:/gui/codeeditor.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_WIDGETS_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/gui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include -I/usr/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/FNKB36652H/moc_codeeditor.cpp /builddir/build/BUILD/cppcheck-2.9/gui/codeeditor.h gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 27%] Built target test-projectfile /usr/bin/gmake -f tools/CMakeFiles/dmake.dir/build.make tools/CMakeFiles/dmake.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/tools /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/CMakeFiles/dmake.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f tools/CMakeFiles/dmake.dir/build.make tools/CMakeFiles/dmake.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 27%] Building CXX object tools/CMakeFiles/dmake.dir/dmake.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools -I/builddir/build/BUILD/cppcheck-2.9/tools -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT tools/CMakeFiles/dmake.dir/dmake.cpp.o -MF CMakeFiles/dmake.dir/dmake.cpp.o.d -o CMakeFiles/dmake.dir/dmake.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/tools/dmake.cpp [ 27%] Building CXX object gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/testtranslationhandler.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler -I/builddir/build/BUILD/cppcheck-2.9/gui/test/translationhandler -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/testtranslationhandler.cpp.o -MF CMakeFiles/test-translationhandler.dir/testtranslationhandler.cpp.o.d -o CMakeFiles/test-translationhandler.dir/testtranslationhandler.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/test/translationhandler/testtranslationhandler.cpp AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/tools/triage/triage_autogen/FNKB36652H/moc_codeeditor.cpp.d" AutoMoc: Generating "SRC:/redhat-linux-build/tools/triage/triage_autogen/EWIEGA46WW/moc_mainwindow.cpp", because it doesn't exist, from "SRC:/tools/triage/mainwindow.h" /usr/lib64/qt5/bin/moc "-DFILESDIR=\"/usr/share/Cppcheck\"" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_WIDGETS_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/gui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/c++/13 -I/usr/include/c++/13/aarch64-redhat-linux -I/usr/include/c++/13/backward -I/usr/lib64/clang/17/include -I/usr/local/include -I/usr/include --include /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/moc_predefs.h --output-dep-file -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/EWIEGA46WW/moc_mainwindow.cpp /builddir/build/BUILD/cppcheck-2.9/tools/triage/mainwindow.h AutoMoc: Reading dependencies from "SRC:/redhat-linux-build/tools/triage/triage_autogen/EWIEGA46WW/moc_mainwindow.cpp.d" AutoMoc: Generating MOC compilation "SRC:/redhat-linux-build/tools/triage/triage_autogen/mocs_compilation.cpp" AutoGen: Writing the parse cache file "SRC:/redhat-linux-build/tools/triage/CMakeFiles/triage_autogen.dir/ParseCache.txt" AutoGen: Writing the settings file "SRC:/redhat-linux-build/tools/triage/CMakeFiles/triage_autogen.dir/AutogenUsed.txt" gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 27%] Built target triage_autogen /usr/bin/gmake -f gui/test/filelist/CMakeFiles/test-filelist.dir/build.make gui/test/filelist/CMakeFiles/test-filelist.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 27%] Generating moc_testfilelist.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist && /usr/lib64/qt5/bin/moc @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist/moc_testfilelist.cpp_parameters cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/gui/test/filelist /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist/CMakeFiles/test-filelist.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f gui/test/filelist/CMakeFiles/test-filelist.dir/build.make gui/test/filelist/CMakeFiles/test-filelist.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 29%] Building CXX object gui/test/filelist/CMakeFiles/test-filelist.dir/moc_testfilelist.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/filelist\" -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist -I/builddir/build/BUILD/cppcheck-2.9/gui/test/filelist -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/filelist/CMakeFiles/test-filelist.dir/moc_testfilelist.cpp.o -MF CMakeFiles/test-filelist.dir/moc_testfilelist.cpp.o.d -o CMakeFiles/test-filelist.dir/moc_testfilelist.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist/moc_testfilelist.cpp /builddir/build/BUILD/cppcheck-2.9/tools/dmake.cpp:153:27: warning: 'argv' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] int main(int argc, char **argv) ~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/tools/dmake.cpp:155:49: note: used in buffer access here const bool release(argc >= 2 && std::string(argv[1]) == "--release"); ^~~~ 16 warnings generated. [ 29%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkclass.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkclass.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkclass.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkclass.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp 1 warning generated. [ 29%] Building CXX object tools/CMakeFiles/dmake.dir/__/cli/filelister.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools -I/builddir/build/BUILD/cppcheck-2.9/tools -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT tools/CMakeFiles/dmake.dir/__/cli/filelister.cpp.o -MF CMakeFiles/dmake.dir/__/cli/filelister.cpp.o.d -o CMakeFiles/dmake.dir/__/cli/filelister.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/cli/filelister.cpp [ 29%] Building CXX object gui/test/filelist/CMakeFiles/test-filelist.dir/testfilelist.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/filelist\" -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist -I/builddir/build/BUILD/cppcheck-2.9/gui/test/filelist -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/filelist/CMakeFiles/test-filelist.dir/testfilelist.cpp.o -MF CMakeFiles/test-filelist.dir/testfilelist.cpp.o.d -o CMakeFiles/test-filelist.dir/testfilelist.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/test/filelist/testfilelist.cpp [ 30%] Building CXX object tools/CMakeFiles/dmake.dir/__/lib/build/mc_pathmatch.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools -I/builddir/build/BUILD/cppcheck-2.9/tools -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT tools/CMakeFiles/dmake.dir/__/lib/build/mc_pathmatch.cpp.o -MF CMakeFiles/dmake.dir/__/lib/build/mc_pathmatch.cpp.o.d -o CMakeFiles/dmake.dir/__/lib/build/mc_pathmatch.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_pathmatch.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:8:111: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eBracket || tok->tokType() == Token::eComparisonOp) && tok->str() == MatchCompiler::makeConstString(">"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:8:111: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eBracket || tok->tokType() == Token::eComparisonOp) && tok->str() == MatchCompiler::makeConstString(">"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:26:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !((tok->tokType() == Token::eEllipsis) && tok->str() == MatchCompiler::makeConstString("..."))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:26:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !((tok->tokType() == Token::eEllipsis) && tok->str() == MatchCompiler::makeConstString("..."))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:140:88: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("realloc")) || (tok->str() == MatchCompiler::makeConstString("g_realloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_realloc")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:140:88: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("realloc")) || (tok->str() == MatchCompiler::makeConstString("g_realloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_realloc")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:140:88: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("realloc")) || (tok->str() == MatchCompiler::makeConstString("g_realloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_realloc")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:140:148: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("realloc")) || (tok->str() == MatchCompiler::makeConstString("g_realloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_realloc")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:140:148: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("realloc")) || (tok->str() == MatchCompiler::makeConstString("g_realloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_realloc")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:140:210: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("realloc")) || (tok->str() == MatchCompiler::makeConstString("g_realloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_realloc")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:140:210: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("realloc")) || (tok->str() == MatchCompiler::makeConstString("g_realloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_realloc")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:140:210: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("realloc")) || (tok->str() == MatchCompiler::makeConstString("g_realloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_realloc")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:140:210: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("realloc")) || (tok->str() == MatchCompiler::makeConstString("g_realloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_realloc")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:140:400: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("realloc")) || (tok->str() == MatchCompiler::makeConstString("g_realloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_realloc")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:1083:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:1083:99: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:1083:99: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:1083:99: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:1083:99: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:1083:99: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:1083:99: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:1083:99: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkclass.cpp:1083:99: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ [ 30%] Building CXX object tools/CMakeFiles/dmake.dir/__/lib/build/mc_path.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools -I/builddir/build/BUILD/cppcheck-2.9/tools -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT tools/CMakeFiles/dmake.dir/__/lib/build/mc_path.cpp.o -MF CMakeFiles/dmake.dir/__/lib/build/mc_path.cpp.o.d -o CMakeFiles/dmake.dir/__/lib/build/mc_path.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_path.cpp [ 31%] Building CXX object gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/__/__/common.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler -I/builddir/build/BUILD/cppcheck-2.9/gui/test/translationhandler -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/__/__/common.cpp.o -MF CMakeFiles/test-translationhandler.dir/__/__/common.cpp.o.d -o CMakeFiles/test-translationhandler.dir/__/__/common.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/common.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_path.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/path.cpp:174:22: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here return extension == MatchCompiler::makeConstString(".c") || ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/path.cpp:174:22: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here return extension == MatchCompiler::makeConstString(".c") || ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/path.cpp:174:22: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here return extension == MatchCompiler::makeConstString(".c") || ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/path.cpp:175:22: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here extension == MatchCompiler::makeConstString(".cl"); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/path.cpp:181:22: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here return extension == MatchCompiler::makeConstString(".cpp") || ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ [ 31%] Building CXX object gui/test/filelist/CMakeFiles/test-filelist.dir/__/__/filelist.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/filelist\" -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist -I/builddir/build/BUILD/cppcheck-2.9/gui/test/filelist -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/filelist/CMakeFiles/test-filelist.dir/__/__/filelist.cpp.o -MF CMakeFiles/test-filelist.dir/__/__/filelist.cpp.o.d -o CMakeFiles/test-filelist.dir/__/__/filelist.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/filelist.cpp 10 warnings generated. [ 31%] Building CXX object tools/CMakeFiles/dmake.dir/__/lib/utils.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools -I/builddir/build/BUILD/cppcheck-2.9/tools -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT tools/CMakeFiles/dmake.dir/__/lib/utils.cpp.o -MF CMakeFiles/dmake.dir/__/lib/utils.cpp.o.d -o CMakeFiles/dmake.dir/__/lib/utils.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:57:17: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* p = pattern.c_str(); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:96:13: note: used in pointer arithmetic here p++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:67:44: note: used in buffer access here while (*n != '\0' && *n != p[1]) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:58:17: warning: 'n' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* n = name.c_str(); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:86:21: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:115:9: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:78:21: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:88:21: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:90:21: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:68:21: note: used in pointer arithmetic here n++; ^ 2 warnings generated. [ 31%] Linking CXX executable ../bin/dmake cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools && /usr/bin/cmake -E cmake_link_script CMakeFiles/dmake.dir/link.txt --verbose=1 /usr/bin/clang++ -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -rdynamic CMakeFiles/dmake.dir/dmake.cpp.o CMakeFiles/dmake.dir/__/cli/filelister.cpp.o CMakeFiles/dmake.dir/__/lib/build/mc_pathmatch.cpp.o CMakeFiles/dmake.dir/__/lib/build/mc_path.cpp.o CMakeFiles/dmake.dir/__/lib/utils.cpp.o ../externals/simplecpp/CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o -o ../bin/dmake [ 31%] Building CXX object gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/__/__/translationhandler.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler -I/builddir/build/BUILD/cppcheck-2.9/gui/test/translationhandler -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/translationhandler/CMakeFiles/test-translationhandler.dir/__/__/translationhandler.cpp.o -MF CMakeFiles/test-translationhandler.dir/__/__/translationhandler.cpp.o.d -o CMakeFiles/test-translationhandler.dir/__/__/translationhandler.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/translationhandler.cpp [ 32%] Building CXX object gui/test/filelist/CMakeFiles/test-filelist.dir/__/__/__/lib/pathmatch.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/filelist\" -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist -I/builddir/build/BUILD/cppcheck-2.9/gui/test/filelist -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/filelist/CMakeFiles/test-filelist.dir/__/__/__/lib/pathmatch.cpp.o -MF CMakeFiles/test-filelist.dir/__/__/__/lib/pathmatch.cpp.o.d -o CMakeFiles/test-filelist.dir/__/__/__/lib/pathmatch.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/lib/pathmatch.cpp [ 32%] Building CXX object gui/test/filelist/CMakeFiles/test-filelist.dir/__/__/__/lib/path.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/filelist\" -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist -I/builddir/build/BUILD/cppcheck-2.9/gui/test/filelist -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/filelist/CMakeFiles/test-filelist.dir/__/__/__/lib/path.cpp.o -MF CMakeFiles/test-filelist.dir/__/__/__/lib/path.cpp.o.d -o CMakeFiles/test-filelist.dir/__/__/__/lib/path.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/lib/path.cpp [ 32%] Linking CXX executable ../../../bin/test-translationhandler cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/translationhandler && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-translationhandler.dir/link.txt --verbose=1 /usr/bin/clang++ -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -rdynamic "CMakeFiles/test-translationhandler.dir/moc_testtranslationhandler.cpp.o" "CMakeFiles/test-translationhandler.dir/__/__/moc_translationhandler.cpp.o" "CMakeFiles/test-translationhandler.dir/testtranslationhandler.cpp.o" "CMakeFiles/test-translationhandler.dir/__/__/common.cpp.o" "CMakeFiles/test-translationhandler.dir/__/__/translationhandler.cpp.o" -o ../../../bin/test-translationhandler /usr/lib64/libQt5Widgets.so.5.15.9 /usr/lib64/libQt5Gui.so.5.15.9 /usr/lib64/libQt5Test.so.5.15.9 /usr/lib64/libQt5Core.so.5.15.9 [ 32%] Building CXX object gui/test/filelist/CMakeFiles/test-filelist.dir/__/__/__/lib/utils.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/filelist\" -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist -I/builddir/build/BUILD/cppcheck-2.9/gui/test/filelist -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/filelist/CMakeFiles/test-filelist.dir/__/__/__/lib/utils.cpp.o -MF CMakeFiles/test-filelist.dir/__/__/__/lib/utils.cpp.o.d -o CMakeFiles/test-filelist.dir/__/__/__/lib/utils.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:57:17: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* p = pattern.c_str(); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:67:44: note: used in buffer access here while (*n != '\0' && *n != p[1]) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:96:13: note: used in pointer arithmetic here p++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:58:17: warning: 'n' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* n = name.c_str(); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:68:21: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:90:21: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:78:21: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:88:21: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:86:21: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:115:9: note: used in pointer arithmetic here n++; ^ 2 warnings generated. [ 32%] Linking CXX executable ../../../bin/test-filelist cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/filelist && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-filelist.dir/link.txt --verbose=1 gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/clang++ -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -rdynamic "CMakeFiles/test-filelist.dir/moc_testfilelist.cpp.o" "CMakeFiles/test-filelist.dir/testfilelist.cpp.o" "CMakeFiles/test-filelist.dir/__/__/filelist.cpp.o" "CMakeFiles/test-filelist.dir/__/__/__/lib/pathmatch.cpp.o" "CMakeFiles/test-filelist.dir/__/__/__/lib/path.cpp.o" "CMakeFiles/test-filelist.dir/__/__/__/lib/utils.cpp.o" ../../../externals/simplecpp/CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o -o ../../../bin/test-filelist /usr/lib64/libQt5Test.so.5.15.9 /usr/lib64/libQt5Core.so.5.15.9 [ 32%] Built target test-translationhandler /usr/bin/gmake -f tools/triage/CMakeFiles/triage.dir/build.make tools/triage/CMakeFiles/triage.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 32%] Generating ui_mainwindow.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/ui_mainwindow.h /builddir/build/BUILD/cppcheck-2.9/tools/triage/mainwindow.ui cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/tools/triage /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/CMakeFiles/triage.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f tools/triage/CMakeFiles/triage.dir/build.make tools/triage/CMakeFiles/triage.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 32%] Building CXX object tools/triage/CMakeFiles/triage.dir/triage_autogen/mocs_compilation.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_WIDGETS_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/gui -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT tools/triage/CMakeFiles/triage.dir/triage_autogen/mocs_compilation.cpp.o -MF CMakeFiles/triage.dir/triage_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/triage.dir/triage_autogen/mocs_compilation.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/mocs_compilation.cpp 46 warnings generated. [ 33%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkcondition.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkcondition.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkcondition.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkcondition.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkcondition.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkcondition.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkcondition.cpp:8:72: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(((tok->tokType() == Token::eLogicalOp) && tok->str() == MatchCompiler::makeConstString("&&")) || (tok->tokType() == Token::eLogicalOp && tok->str() == MatchCompiler::makeConstString("||")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkcondition.cpp:8:72: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(((tok->tokType() == Token::eLogicalOp) && tok->str() == MatchCompiler::makeConstString("&&")) || (tok->tokType() == Token::eLogicalOp && tok->str() == MatchCompiler::makeConstString("||")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkcondition.cpp:8:72: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(((tok->tokType() == Token::eLogicalOp) && tok->str() == MatchCompiler::makeConstString("&&")) || (tok->tokType() == Token::eLogicalOp && tok->str() == MatchCompiler::makeConstString("||")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkcondition.cpp:183:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkcondition.cpp:183:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkcondition.cpp:183:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkcondition.cpp:183:168: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkcondition.cpp:183:168: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkcondition.cpp:183:168: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/mocs_compilation.cpp:2: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/FNKB36652H/moc_codeeditor.cpp:145:88: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void CodeEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/FNKB36652H/moc_codeeditor.cpp:151:75: note: used in buffer access here case 0: _t->updateLineNumberAreaWidth((*reinterpret_cast< int(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/FNKB36652H/moc_codeeditor.cpp:153:114: note: used in buffer access here case 2: _t->updateLineNumberArea((*reinterpret_cast< const QRect(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/FNKB36652H/moc_codeeditor.cpp:153:78: note: used in buffer access here case 2: _t->updateLineNumberArea((*reinterpret_cast< const QRect(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/mocs_compilation.cpp:3: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/EWIEGA46WW/moc_mainwindow.cpp:102:88: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/EWIEGA46WW/moc_mainwindow.cpp:111:73: note: used in buffer access here case 3: _t->showResult((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/EWIEGA46WW/moc_mainwindow.cpp:117:77: note: used in buffer access here case 9: _t->resultsContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/EWIEGA46WW/moc_mainwindow.cpp:113:74: note: used in buffer access here case 5: _t->fileTreeFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/EWIEGA46WW/moc_mainwindow.cpp:110:66: note: used in buffer access here case 2: _t->filter((*reinterpret_cast< const QString(*)>(_a[1]))); break; ^~ 2 warnings generated. [ 34%] Building CXX object tools/triage/CMakeFiles/triage.dir/main.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_WIDGETS_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/gui -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT tools/triage/CMakeFiles/triage.dir/main.cpp.o -MF CMakeFiles/triage.dir/main.cpp.o.d -o CMakeFiles/triage.dir/main.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/tools/triage/main.cpp gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 34%] Built target dmake /usr/bin/gmake -f tools/CMakeFiles/run-dmake.dir/build.make tools/CMakeFiles/run-dmake.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/tools /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/CMakeFiles/run-dmake.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f tools/CMakeFiles/run-dmake.dir/build.make tools/CMakeFiles/run-dmake.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' cd /builddir/build/BUILD/cppcheck-2.9 && /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/bin/dmake gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 34%] Built target run-dmake [ 34%] Building CXX object tools/triage/CMakeFiles/triage.dir/mainwindow.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_WIDGETS_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/gui -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT tools/triage/CMakeFiles/triage.dir/mainwindow.cpp.o -MF CMakeFiles/triage.dir/mainwindow.cpp.o.d -o CMakeFiles/triage.dir/mainwindow.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/tools/triage/mainwindow.cpp [ 34%] Building CXX object tools/triage/CMakeFiles/triage.dir/__/__/gui/codeeditorstyle.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_WIDGETS_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/gui -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT tools/triage/CMakeFiles/triage.dir/__/__/gui/codeeditorstyle.cpp.o -MF CMakeFiles/triage.dir/__/__/gui/codeeditorstyle.cpp.o.d -o CMakeFiles/triage.dir/__/__/gui/codeeditorstyle.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/codeeditorstyle.cpp 18 warnings generated. [ 34%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkexceptionsafety.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkexceptionsafety.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkexceptionsafety.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkexceptionsafety.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("try"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("try"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("try"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("try"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkexceptionsafety.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("uncaught_exception"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ [ 34%] Building CXX object tools/triage/CMakeFiles/triage.dir/__/__/gui/codeeditor.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_WIDGETS_LIB -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/tools/triage -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage/triage_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/gui -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT tools/triage/CMakeFiles/triage.dir/__/__/gui/codeeditor.cpp.o -MF CMakeFiles/triage.dir/__/__/gui/codeeditor.cpp.o.d -o CMakeFiles/triage.dir/__/__/gui/codeeditor.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/codeeditor.cpp gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 34%] Built target test-filelist [ 34%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkfunctions.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkfunctions.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkfunctions.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkfunctions.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkfunctions.cpp 38 warnings generated. [ 34%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkinternal.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkinternal.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkinternal.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkinternal.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("Token"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("Token"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("Token"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("Token"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("Token"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("Token"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:29:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("findmatch"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:29:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("findmatch"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:29:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("findmatch"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:29:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("findmatch"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:47:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("simpleMatch")) || (tok->str() == MatchCompiler::makeConstString("Match")) || (tok->str() == MatchCompiler::makeConstString("findsimplematch")) || (tok->str() == MatchCompiler::makeConstString("findmatch")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:47:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("simpleMatch")) || (tok->str() == MatchCompiler::makeConstString("Match")) || (tok->str() == MatchCompiler::makeConstString("findsimplematch")) || (tok->str() == MatchCompiler::makeConstString("findmatch")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:47:155: note: in instantiation of function template specialization 'MatchCompiler::operator==<16U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("simpleMatch")) || (tok->str() == MatchCompiler::makeConstString("Match")) || (tok->str() == MatchCompiler::makeConstString("findsimplematch")) || (tok->str() == MatchCompiler::makeConstString("findmatch")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:47:155: note: in instantiation of function template specialization 'MatchCompiler::operator==<16U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("simpleMatch")) || (tok->str() == MatchCompiler::makeConstString("Match")) || (tok->str() == MatchCompiler::makeConstString("findsimplematch")) || (tok->str() == MatchCompiler::makeConstString("findmatch")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:47:155: note: in instantiation of function template specialization 'MatchCompiler::operator==<16U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("simpleMatch")) || (tok->str() == MatchCompiler::makeConstString("Match")) || (tok->str() == MatchCompiler::makeConstString("findsimplematch")) || (tok->str() == MatchCompiler::makeConstString("findmatch")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:47:155: note: in instantiation of function template specialization 'MatchCompiler::operator==<16U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("simpleMatch")) || (tok->str() == MatchCompiler::makeConstString("Match")) || (tok->str() == MatchCompiler::makeConstString("findsimplematch")) || (tok->str() == MatchCompiler::makeConstString("findmatch")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:7:13: warning: unused function 'match1' [-Wunused-function] static bool match1(const Token* tok) { ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:22:13: warning: unused function 'match2' [-Wunused-function] static bool match2(const Token* tok) { ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:37:13: warning: unused function 'match3' [-Wunused-function] static bool match3(const Token* tok) { ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:55:13: warning: unused function 'match4' [-Wunused-function] static bool match4(const Token* tok) { ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:61:13: warning: unused function 'match5' [-Wunused-function] static bool match5(const Token* tok) { ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:82:13: warning: unused function 'match6' [-Wunused-function] static bool match6(const Token* tok) { ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:88:13: warning: unused function 'match7' [-Wunused-function] static bool match7(const Token* tok) { ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:94:13: warning: unused function 'match8' [-Wunused-function] static bool match8(const Token* tok) { ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:109:13: warning: unused function 'match9' [-Wunused-function] static bool match9(const Token* tok) { ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:124:13: warning: unused function 'match10' [-Wunused-function] static bool match10(const Token* tok) { ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:145:13: warning: unused function 'match11' [-Wunused-function] static bool match11(const Token* tok) { ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:166:13: warning: unused function 'match12' [-Wunused-function] static bool match12(const Token* tok) { ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:181:13: warning: unused function 'match13' [-Wunused-function] static bool match13(const Token* tok) { ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:190:13: warning: unused function 'match14' [-Wunused-function] static bool match14(const Token* tok) { ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkinternal.cpp:223:13: warning: unused function 'match15' [-Wunused-function] static bool match15(const Token* tok) { ^ 47 warnings generated. [ 36%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkio.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkio.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkio.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkio.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkfunctions.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkfunctions.cpp:11:72: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("("))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkfunctions.cpp:11:72: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("("))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkfunctions.cpp:17:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("alloca"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkfunctions.cpp:17:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("alloca"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkfunctions.cpp:17:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("alloca"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkfunctions.cpp:17:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("alloca"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkfunctions.cpp:17:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("alloca"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkfunctions.cpp:188:167: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("case")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("default")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ [ 36%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkleakautovar.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkleakautovar.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkleakautovar.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkleakautovar.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkleakautovar.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("std"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("std"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("std"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("std"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:14:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("cout")) || (tok->str() == MatchCompiler::makeConstString("cerr")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:62:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")) || (tok->str() == MatchCompiler::makeConstString("throw")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:62:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")) || (tok->str() == MatchCompiler::makeConstString("throw")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:83:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("fopen_s")) || (tok->str() == MatchCompiler::makeConstString("freopen_s")) || (tok->str() == MatchCompiler::makeConstString("_wfopen_s")) || (tok->str() == MatchCompiler::makeConstString("_wfreopen_s")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:83:92: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("fopen_s")) || (tok->str() == MatchCompiler::makeConstString("freopen_s")) || (tok->str() == MatchCompiler::makeConstString("_wfopen_s")) || (tok->str() == MatchCompiler::makeConstString("_wfreopen_s")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:83:92: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("fopen_s")) || (tok->str() == MatchCompiler::makeConstString("freopen_s")) || (tok->str() == MatchCompiler::makeConstString("_wfopen_s")) || (tok->str() == MatchCompiler::makeConstString("_wfreopen_s")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:83:218: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("fopen_s")) || (tok->str() == MatchCompiler::makeConstString("freopen_s")) || (tok->str() == MatchCompiler::makeConstString("_wfopen_s")) || (tok->str() == MatchCompiler::makeConstString("_wfreopen_s")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:83:218: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("fopen_s")) || (tok->str() == MatchCompiler::makeConstString("freopen_s")) || (tok->str() == MatchCompiler::makeConstString("_wfopen_s")) || (tok->str() == MatchCompiler::makeConstString("_wfreopen_s")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:185:96: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("_snprintf_s")) || (tok->str() == MatchCompiler::makeConstString("_snwprintf_s")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:266:96: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("static_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("const_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:266:96: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("static_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("const_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:266:96: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("static_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("const_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:266:96: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("static_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("const_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:407:1075: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("vector")) || (tok->str() == MatchCompiler::makeConstString("array")) || (tok->str() == MatchCompiler::makeConstString("bitset")) || (tok->str() == MatchCompiler::makeConstString("deque")) || (tok->str() == MatchCompiler::makeConstString("list")) || (tok->str() == MatchCompiler::makeConstString("forward_list")) || (tok->str() == MatchCompiler::makeConstString("map")) || (tok->str() == MatchCompiler::makeConstString("multimap")) || (tok->str() == MatchCompiler::makeConstString("multiset")) || (tok->str() == MatchCompiler::makeConstString("priority_queue")) || (tok->str() == MatchCompiler::makeConstString("queue")) || (tok->str() == MatchCompiler::makeConstString("set")) || (tok->str() == MatchCompiler::makeConstString("stack")) || (tok->str() == MatchCompiler::makeConstString("hash_map")) || (tok->str() == MatchCompiler::makeConstString("hash_multimap")) || (tok->str() == MatchCompiler::makeConstString("hash_set")) || (tok->str() == MatchCompiler::makeConstString("unordered_map")) || (tok->str() == MatchCompiler::makeConstString("unordered_multimap")) || (tok->str() == MatchCompiler::makeConstString("unordered_set")) || (tok->str() == MatchCompiler::makeConstString("unordered_multiset")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkio.cpp:407:1075: note: in instantiation of function template specialization 'MatchCompiler::operator==<19U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("vector")) || (tok->str() == MatchCompiler::makeConstString("array")) || (tok->str() == MatchCompiler::makeConstString("bitset")) || (tok->str() == MatchCompiler::makeConstString("deque")) || (tok->str() == MatchCompiler::makeConstString("list")) || (tok->str() == MatchCompiler::makeConstString("forward_list")) || (tok->str() == MatchCompiler::makeConstString("map")) || (tok->str() == MatchCompiler::makeConstString("multimap")) || (tok->str() == MatchCompiler::makeConstString("multiset")) || (tok->str() == MatchCompiler::makeConstString("priority_queue")) || (tok->str() == MatchCompiler::makeConstString("queue")) || (tok->str() == MatchCompiler::makeConstString("set")) || (tok->str() == MatchCompiler::makeConstString("stack")) || (tok->str() == MatchCompiler::makeConstString("hash_map")) || (tok->str() == MatchCompiler::makeConstString("hash_multimap")) || (tok->str() == MatchCompiler::makeConstString("hash_set")) || (tok->str() == MatchCompiler::makeConstString("unordered_map")) || (tok->str() == MatchCompiler::makeConstString("unordered_multimap")) || (tok->str() == MatchCompiler::makeConstString("unordered_set")) || (tok->str() == MatchCompiler::makeConstString("unordered_multiset")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkleakautovar.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkleakautovar.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkleakautovar.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkleakautovar.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkleakautovar.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkleakautovar.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkleakautovar.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkleakautovar.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkleakautovar.cpp:20:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("release"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkleakautovar.cpp:182:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("UNLIKELY")) || (tok->str() == MatchCompiler::makeConstString("LIKELY")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkleakautovar.cpp:295:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<11U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("unique_ptr"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkleakautovar.cpp:295:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<11U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("unique_ptr"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 16 warnings generated. [ 36%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkmemoryleak.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkmemoryleak.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkmemoryleak.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkmemoryleak.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkmemoryleak.cpp [ 37%] Linking CXX executable ../../bin/triage cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/tools/triage && /usr/bin/cmake -E cmake_link_script CMakeFiles/triage.dir/link.txt --verbose=1 In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkmemoryleak.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkmemoryleak.cpp:11:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("::")) || (tok->str() == MatchCompiler::makeConstString(".")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkmemoryleak.cpp:11:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("::")) || (tok->str() == MatchCompiler::makeConstString(".")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkmemoryleak.cpp:11:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("::")) || (tok->str() == MatchCompiler::makeConstString(".")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] /usr/bin/clang++ -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -rdynamic CMakeFiles/triage.dir/triage_autogen/mocs_compilation.cpp.o CMakeFiles/triage.dir/main.cpp.o CMakeFiles/triage.dir/mainwindow.cpp.o CMakeFiles/triage.dir/__/__/gui/codeeditorstyle.cpp.o CMakeFiles/triage.dir/__/__/gui/codeeditor.cpp.o -o ../../bin/triage /usr/lib64/libQt5Widgets.so.5.15.9 /usr/lib64/libQt5Gui.so.5.15.9 /usr/lib64/libQt5Core.so.5.15.9 inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkmemoryleak.cpp:23:29: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (tok && ((tok->str() == MatchCompiler::makeConstString("std")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkmemoryleak.cpp:27:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("nothrow"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkmemoryleak.cpp:27:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("nothrow"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkmemoryleak.cpp:27:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("nothrow"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkmemoryleak.cpp:27:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("nothrow"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkmemoryleak.cpp:48:269: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("open")) || (tok->str() == MatchCompiler::makeConstString("openat")) || (tok->str() == MatchCompiler::makeConstString("creat")) || (tok->str() == MatchCompiler::makeConstString("mkstemp")) || (tok->str() == MatchCompiler::makeConstString("mkostemp")) || (tok->str() == MatchCompiler::makeConstString("socket")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkmemoryleak.cpp:92:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("fcloseall"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkmemoryleak.cpp:627:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<11U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("shared_ptr")) || (tok->str() == MatchCompiler::makeConstString("unique_ptr")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 22 warnings generated. [ 37%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checknullpointer.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checknullpointer.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checknullpointer.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checknullpointer.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checknullpointer.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checknullpointer.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checknullpointer.cpp:11:72: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("("))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checknullpointer.cpp:11:72: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("("))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checknullpointer.cpp:20:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("snprintf")) || (tok->str() == MatchCompiler::makeConstString("vsnprintf")) || (tok->str() == MatchCompiler::makeConstString("fnprintf")) || (tok->str() == MatchCompiler::makeConstString("vfnprintf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checknullpointer.cpp:20:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("snprintf")) || (tok->str() == MatchCompiler::makeConstString("vsnprintf")) || (tok->str() == MatchCompiler::makeConstString("fnprintf")) || (tok->str() == MatchCompiler::makeConstString("vfnprintf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checknullpointer.cpp:20:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("snprintf")) || (tok->str() == MatchCompiler::makeConstString("vsnprintf")) || (tok->str() == MatchCompiler::makeConstString("fnprintf")) || (tok->str() == MatchCompiler::makeConstString("vfnprintf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checknullpointer.cpp:20:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("snprintf")) || (tok->str() == MatchCompiler::makeConstString("vsnprintf")) || (tok->str() == MatchCompiler::makeConstString("fnprintf")) || (tok->str() == MatchCompiler::makeConstString("vfnprintf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checknullpointer.cpp:20:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("snprintf")) || (tok->str() == MatchCompiler::makeConstString("vsnprintf")) || (tok->str() == MatchCompiler::makeConstString("fnprintf")) || (tok->str() == MatchCompiler::makeConstString("vfnprintf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checknullpointer.cpp:20:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("snprintf")) || (tok->str() == MatchCompiler::makeConstString("vsnprintf")) || (tok->str() == MatchCompiler::makeConstString("fnprintf")) || (tok->str() == MatchCompiler::makeConstString("vfnprintf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checknullpointer.cpp:20:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("snprintf")) || (tok->str() == MatchCompiler::makeConstString("vsnprintf")) || (tok->str() == MatchCompiler::makeConstString("fnprintf")) || (tok->str() == MatchCompiler::makeConstString("vfnprintf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checknullpointer.cpp:20:93: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("snprintf")) || (tok->str() == MatchCompiler::makeConstString("vsnprintf")) || (tok->str() == MatchCompiler::makeConstString("fnprintf")) || (tok->str() == MatchCompiler::makeConstString("vfnprintf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 38 warnings generated. [ 38%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkother.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkother.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkother.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkother.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 38%] Built target triage [ 38%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkpostfixoperator.cpp.o 22 warnings generated. cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkpostfixoperator.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkpostfixoperator.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkpostfixoperator.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp [ 38%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checksizeof.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checksizeof.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checksizeof.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checksizeof.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checksizeof.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:11:71: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(((tok->tokType() == Token::eIncDecOp) && tok->str() == MatchCompiler::makeConstString("++")) || ((tok->tokType() == Token::eIncDecOp) && tok->str() == MatchCompiler::makeConstString("--")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:11:71: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(((tok->tokType() == Token::eIncDecOp) && tok->str() == MatchCompiler::makeConstString("++")) || ((tok->tokType() == Token::eIncDecOp) && tok->str() == MatchCompiler::makeConstString("--")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:11:71: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(((tok->tokType() == Token::eIncDecOp) && tok->str() == MatchCompiler::makeConstString("++")) || ((tok->tokType() == Token::eIncDecOp) && tok->str() == MatchCompiler::makeConstString("--")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:93: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:93: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:93: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:93: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:93: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:93: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:231: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:231: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:231: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:231: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:231: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkpostfixoperator.cpp:17:231: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checksizeof.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checksizeof.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checksizeof.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checksizeof.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checksizeof.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checksizeof.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checksizeof.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checksizeof.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checksizeof.cpp:101:151: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("memcpy")) || (tok->str() == MatchCompiler::makeConstString("memcmp")) || (tok->str() == MatchCompiler::makeConstString("memmove")) || (tok->str() == MatchCompiler::makeConstString("strncpy")) || (tok->str() == MatchCompiler::makeConstString("strncmp")) || (tok->str() == MatchCompiler::makeConstString("strncat")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checksizeof.cpp:202:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("static_cast"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checksizeof.cpp:202:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("static_cast"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checksizeof.cpp:202:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("static_cast"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checksizeof.cpp:202:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("static_cast"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 46 warnings generated. [ 38%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkstl.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkstl.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkstl.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkstl.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:8:54: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !((tok->varId() != 0) || (tok->str() == MatchCompiler::makeConstString("EOF")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:8:54: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !((tok->varId() != 0) || (tok->str() == MatchCompiler::makeConstString("EOF")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:8:54: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !((tok->varId() != 0) || (tok->str() == MatchCompiler::makeConstString("EOF")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:8:54: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !((tok->varId() != 0) || (tok->str() == MatchCompiler::makeConstString("EOF")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:23:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("fclose")) || (tok->str() == MatchCompiler::makeConstString("fflush")) || (tok->str() == MatchCompiler::makeConstString("fputc")) || (tok->str() == MatchCompiler::makeConstString("fputs")) || (tok->str() == MatchCompiler::makeConstString("fscanf")) || (tok->str() == MatchCompiler::makeConstString("getchar")) || (tok->str() == MatchCompiler::makeConstString("getc")) || (tok->str() == MatchCompiler::makeConstString("fgetc")) || (tok->str() == MatchCompiler::makeConstString("putchar")) || (tok->str() == MatchCompiler::makeConstString("putc")) || (tok->str() == MatchCompiler::makeConstString("puts")) || (tok->str() == MatchCompiler::makeConstString("scanf")) || (tok->str() == MatchCompiler::makeConstString("sscanf")) || (tok->str() == MatchCompiler::makeConstString("ungetc")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:23:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("fclose")) || (tok->str() == MatchCompiler::makeConstString("fflush")) || (tok->str() == MatchCompiler::makeConstString("fputc")) || (tok->str() == MatchCompiler::makeConstString("fputs")) || (tok->str() == MatchCompiler::makeConstString("fscanf")) || (tok->str() == MatchCompiler::makeConstString("getchar")) || (tok->str() == MatchCompiler::makeConstString("getc")) || (tok->str() == MatchCompiler::makeConstString("fgetc")) || (tok->str() == MatchCompiler::makeConstString("putchar")) || (tok->str() == MatchCompiler::makeConstString("putc")) || (tok->str() == MatchCompiler::makeConstString("puts")) || (tok->str() == MatchCompiler::makeConstString("scanf")) || (tok->str() == MatchCompiler::makeConstString("sscanf")) || (tok->str() == MatchCompiler::makeConstString("ungetc")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:23:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("fclose")) || (tok->str() == MatchCompiler::makeConstString("fflush")) || (tok->str() == MatchCompiler::makeConstString("fputc")) || (tok->str() == MatchCompiler::makeConstString("fputs")) || (tok->str() == MatchCompiler::makeConstString("fscanf")) || (tok->str() == MatchCompiler::makeConstString("getchar")) || (tok->str() == MatchCompiler::makeConstString("getc")) || (tok->str() == MatchCompiler::makeConstString("fgetc")) || (tok->str() == MatchCompiler::makeConstString("putchar")) || (tok->str() == MatchCompiler::makeConstString("putc")) || (tok->str() == MatchCompiler::makeConstString("puts")) || (tok->str() == MatchCompiler::makeConstString("scanf")) || (tok->str() == MatchCompiler::makeConstString("sscanf")) || (tok->str() == MatchCompiler::makeConstString("ungetc")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:23:329: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("fclose")) || (tok->str() == MatchCompiler::makeConstString("fflush")) || (tok->str() == MatchCompiler::makeConstString("fputc")) || (tok->str() == MatchCompiler::makeConstString("fputs")) || (tok->str() == MatchCompiler::makeConstString("fscanf")) || (tok->str() == MatchCompiler::makeConstString("getchar")) || (tok->str() == MatchCompiler::makeConstString("getc")) || (tok->str() == MatchCompiler::makeConstString("fgetc")) || (tok->str() == MatchCompiler::makeConstString("putchar")) || (tok->str() == MatchCompiler::makeConstString("putc")) || (tok->str() == MatchCompiler::makeConstString("puts")) || (tok->str() == MatchCompiler::makeConstString("scanf")) || (tok->str() == MatchCompiler::makeConstString("sscanf")) || (tok->str() == MatchCompiler::makeConstString("ungetc")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:248:166: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (tok && (((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("volatile")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:310:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("reinterpret_cast"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:310:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("reinterpret_cast"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:310:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("reinterpret_cast"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:310:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("reinterpret_cast"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:310:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("reinterpret_cast"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:310:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("reinterpret_cast"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:310:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("reinterpret_cast"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:310:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("reinterpret_cast"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:1570:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("InterlockedDecrement"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:1570:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("InterlockedDecrement"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:1570:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("InterlockedDecrement"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkother.cpp:1570:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("InterlockedDecrement"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 20 warnings generated. [ 39%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkstring.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkstring.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkstring.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkstring.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp 24 warnings generated. [ 39%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checktype.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checktype.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checktype.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checktype.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checktype.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:11:108: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eExtendedOp || tok->tokType() == Token::eLambda) && tok->str() == MatchCompiler::makeConstString("["))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:11:108: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eExtendedOp || tok->tokType() == Token::eLambda) && tok->str() == MatchCompiler::makeConstString("["))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:38:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("memcmp")) || (tok->str() == MatchCompiler::makeConstString("strncmp")) || (tok->str() == MatchCompiler::makeConstString("strcmp")) || (tok->str() == MatchCompiler::makeConstString("stricmp")) || (tok->str() == MatchCompiler::makeConstString("strverscmp")) || (tok->str() == MatchCompiler::makeConstString("bcmp")) || (tok->str() == MatchCompiler::makeConstString("strcmpi")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp")) || (tok->str() == MatchCompiler::makeConstString("wmemcmp")) || (tok->str() == MatchCompiler::makeConstString("wcscmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp_l")) || (tok->str() == MatchCompiler::makeConstString("_memicmp")) || (tok->str() == MatchCompiler::makeConstString("_memicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_stricmp")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp")) || (tok->str() == MatchCompiler::makeConstString("_stricmp_l")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp_l")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:38:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("memcmp")) || (tok->str() == MatchCompiler::makeConstString("strncmp")) || (tok->str() == MatchCompiler::makeConstString("strcmp")) || (tok->str() == MatchCompiler::makeConstString("stricmp")) || (tok->str() == MatchCompiler::makeConstString("strverscmp")) || (tok->str() == MatchCompiler::makeConstString("bcmp")) || (tok->str() == MatchCompiler::makeConstString("strcmpi")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp")) || (tok->str() == MatchCompiler::makeConstString("wmemcmp")) || (tok->str() == MatchCompiler::makeConstString("wcscmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp_l")) || (tok->str() == MatchCompiler::makeConstString("_memicmp")) || (tok->str() == MatchCompiler::makeConstString("_memicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_stricmp")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp")) || (tok->str() == MatchCompiler::makeConstString("_stricmp_l")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp_l")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:38:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("memcmp")) || (tok->str() == MatchCompiler::makeConstString("strncmp")) || (tok->str() == MatchCompiler::makeConstString("strcmp")) || (tok->str() == MatchCompiler::makeConstString("stricmp")) || (tok->str() == MatchCompiler::makeConstString("strverscmp")) || (tok->str() == MatchCompiler::makeConstString("bcmp")) || (tok->str() == MatchCompiler::makeConstString("strcmpi")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp")) || (tok->str() == MatchCompiler::makeConstString("wmemcmp")) || (tok->str() == MatchCompiler::makeConstString("wcscmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp_l")) || (tok->str() == MatchCompiler::makeConstString("_memicmp")) || (tok->str() == MatchCompiler::makeConstString("_memicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_stricmp")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp")) || (tok->str() == MatchCompiler::makeConstString("_stricmp_l")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp_l")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:38:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("memcmp")) || (tok->str() == MatchCompiler::makeConstString("strncmp")) || (tok->str() == MatchCompiler::makeConstString("strcmp")) || (tok->str() == MatchCompiler::makeConstString("stricmp")) || (tok->str() == MatchCompiler::makeConstString("strverscmp")) || (tok->str() == MatchCompiler::makeConstString("bcmp")) || (tok->str() == MatchCompiler::makeConstString("strcmpi")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp")) || (tok->str() == MatchCompiler::makeConstString("wmemcmp")) || (tok->str() == MatchCompiler::makeConstString("wcscmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp_l")) || (tok->str() == MatchCompiler::makeConstString("_memicmp")) || (tok->str() == MatchCompiler::makeConstString("_memicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_stricmp")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp")) || (tok->str() == MatchCompiler::makeConstString("_stricmp_l")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp_l")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:38:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("memcmp")) || (tok->str() == MatchCompiler::makeConstString("strncmp")) || (tok->str() == MatchCompiler::makeConstString("strcmp")) || (tok->str() == MatchCompiler::makeConstString("stricmp")) || (tok->str() == MatchCompiler::makeConstString("strverscmp")) || (tok->str() == MatchCompiler::makeConstString("bcmp")) || (tok->str() == MatchCompiler::makeConstString("strcmpi")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp")) || (tok->str() == MatchCompiler::makeConstString("wmemcmp")) || (tok->str() == MatchCompiler::makeConstString("wcscmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp_l")) || (tok->str() == MatchCompiler::makeConstString("_memicmp")) || (tok->str() == MatchCompiler::makeConstString("_memicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_stricmp")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp")) || (tok->str() == MatchCompiler::makeConstString("_stricmp_l")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp_l")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:38:91: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("memcmp")) || (tok->str() == MatchCompiler::makeConstString("strncmp")) || (tok->str() == MatchCompiler::makeConstString("strcmp")) || (tok->str() == MatchCompiler::makeConstString("stricmp")) || (tok->str() == MatchCompiler::makeConstString("strverscmp")) || (tok->str() == MatchCompiler::makeConstString("bcmp")) || (tok->str() == MatchCompiler::makeConstString("strcmpi")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp")) || (tok->str() == MatchCompiler::makeConstString("wmemcmp")) || (tok->str() == MatchCompiler::makeConstString("wcscmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp_l")) || (tok->str() == MatchCompiler::makeConstString("_memicmp")) || (tok->str() == MatchCompiler::makeConstString("_memicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_stricmp")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp")) || (tok->str() == MatchCompiler::makeConstString("_stricmp_l")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp_l")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:38:273: note: in instantiation of function template specialization 'MatchCompiler::operator==<11U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("memcmp")) || (tok->str() == MatchCompiler::makeConstString("strncmp")) || (tok->str() == MatchCompiler::makeConstString("strcmp")) || (tok->str() == MatchCompiler::makeConstString("stricmp")) || (tok->str() == MatchCompiler::makeConstString("strverscmp")) || (tok->str() == MatchCompiler::makeConstString("bcmp")) || (tok->str() == MatchCompiler::makeConstString("strcmpi")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp")) || (tok->str() == MatchCompiler::makeConstString("wmemcmp")) || (tok->str() == MatchCompiler::makeConstString("wcscmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp_l")) || (tok->str() == MatchCompiler::makeConstString("_memicmp")) || (tok->str() == MatchCompiler::makeConstString("_memicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_stricmp")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp")) || (tok->str() == MatchCompiler::makeConstString("_stricmp_l")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp_l")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:38:273: note: in instantiation of function template specialization 'MatchCompiler::operator==<11U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("memcmp")) || (tok->str() == MatchCompiler::makeConstString("strncmp")) || (tok->str() == MatchCompiler::makeConstString("strcmp")) || (tok->str() == MatchCompiler::makeConstString("stricmp")) || (tok->str() == MatchCompiler::makeConstString("strverscmp")) || (tok->str() == MatchCompiler::makeConstString("bcmp")) || (tok->str() == MatchCompiler::makeConstString("strcmpi")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp")) || (tok->str() == MatchCompiler::makeConstString("wmemcmp")) || (tok->str() == MatchCompiler::makeConstString("wcscmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp_l")) || (tok->str() == MatchCompiler::makeConstString("_memicmp")) || (tok->str() == MatchCompiler::makeConstString("_memicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_stricmp")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp")) || (tok->str() == MatchCompiler::makeConstString("_stricmp_l")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp_l")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:38:273: note: in instantiation of function template specialization 'MatchCompiler::operator==<11U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("memcmp")) || (tok->str() == MatchCompiler::makeConstString("strncmp")) || (tok->str() == MatchCompiler::makeConstString("strcmp")) || (tok->str() == MatchCompiler::makeConstString("stricmp")) || (tok->str() == MatchCompiler::makeConstString("strverscmp")) || (tok->str() == MatchCompiler::makeConstString("bcmp")) || (tok->str() == MatchCompiler::makeConstString("strcmpi")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp")) || (tok->str() == MatchCompiler::makeConstString("wmemcmp")) || (tok->str() == MatchCompiler::makeConstString("wcscmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp_l")) || (tok->str() == MatchCompiler::makeConstString("_memicmp")) || (tok->str() == MatchCompiler::makeConstString("_memicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_stricmp")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp")) || (tok->str() == MatchCompiler::makeConstString("_stricmp_l")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp_l")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:38:520: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("memcmp")) || (tok->str() == MatchCompiler::makeConstString("strncmp")) || (tok->str() == MatchCompiler::makeConstString("strcmp")) || (tok->str() == MatchCompiler::makeConstString("stricmp")) || (tok->str() == MatchCompiler::makeConstString("strverscmp")) || (tok->str() == MatchCompiler::makeConstString("bcmp")) || (tok->str() == MatchCompiler::makeConstString("strcmpi")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp")) || (tok->str() == MatchCompiler::makeConstString("wmemcmp")) || (tok->str() == MatchCompiler::makeConstString("wcscmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp_l")) || (tok->str() == MatchCompiler::makeConstString("_memicmp")) || (tok->str() == MatchCompiler::makeConstString("_memicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_stricmp")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp")) || (tok->str() == MatchCompiler::makeConstString("_stricmp_l")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp_l")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:38:585: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("memcmp")) || (tok->str() == MatchCompiler::makeConstString("strncmp")) || (tok->str() == MatchCompiler::makeConstString("strcmp")) || (tok->str() == MatchCompiler::makeConstString("stricmp")) || (tok->str() == MatchCompiler::makeConstString("strverscmp")) || (tok->str() == MatchCompiler::makeConstString("bcmp")) || (tok->str() == MatchCompiler::makeConstString("strcmpi")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp")) || (tok->str() == MatchCompiler::makeConstString("wmemcmp")) || (tok->str() == MatchCompiler::makeConstString("wcscmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp_l")) || (tok->str() == MatchCompiler::makeConstString("_memicmp")) || (tok->str() == MatchCompiler::makeConstString("_memicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_stricmp")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp")) || (tok->str() == MatchCompiler::makeConstString("_stricmp_l")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp_l")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstring.cpp:38:585: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("memcmp")) || (tok->str() == MatchCompiler::makeConstString("strncmp")) || (tok->str() == MatchCompiler::makeConstString("strcmp")) || (tok->str() == MatchCompiler::makeConstString("stricmp")) || (tok->str() == MatchCompiler::makeConstString("strverscmp")) || (tok->str() == MatchCompiler::makeConstString("bcmp")) || (tok->str() == MatchCompiler::makeConstString("strcmpi")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp")) || (tok->str() == MatchCompiler::makeConstString("strncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("strcasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp")) || (tok->str() == MatchCompiler::makeConstString("wmemcmp")) || (tok->str() == MatchCompiler::makeConstString("wcscmp")) || (tok->str() == MatchCompiler::makeConstString("wcscasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncasecmp_l")) || (tok->str() == MatchCompiler::makeConstString("wcsncmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp")) || (tok->str() == MatchCompiler::makeConstString("_mbscmp_l")) || (tok->str() == MatchCompiler::makeConstString("_memicmp")) || (tok->str() == MatchCompiler::makeConstString("_memicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_stricmp")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp")) || (tok->str() == MatchCompiler::makeConstString("_stricmp_l")) || (tok->str() == MatchCompiler::makeConstString("_wcsicmp_l")) || (tok->str() == MatchCompiler::makeConstString("_mbsicmp_l")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checktype.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checktype.cpp:14:72: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("("))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checktype.cpp:14:72: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("("))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checktype.cpp:29:77: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(((tok->tokType() == Token::eArithmeticalOp) && tok->str() == MatchCompiler::makeConstString("<<")) || ((tok->tokType() == Token::eArithmeticalOp) && tok->str() == MatchCompiler::makeConstString(">>")) || (tok->str() == MatchCompiler::makeConstString("<<=")) || (tok->str() == MatchCompiler::makeConstString(">>=")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checktype.cpp:29:235: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(((tok->tokType() == Token::eArithmeticalOp) && tok->str() == MatchCompiler::makeConstString("<<")) || ((tok->tokType() == Token::eArithmeticalOp) && tok->str() == MatchCompiler::makeConstString(">>")) || (tok->str() == MatchCompiler::makeConstString("<<=")) || (tok->str() == MatchCompiler::makeConstString(">>=")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/checktype.cpp:333:28: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (def->str() == MatchCompiler::makeConstString("long") && def->originalName().empty()) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/checktype.cpp:345:28: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (tok->str() == MatchCompiler::makeConstString("return")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/checktype.cpp:345:28: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (tok->str() == MatchCompiler::makeConstString("return")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("."))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("."))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:93: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:93: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:93: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:93: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:93: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:93: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:231: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:231: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:231: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:231: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:231: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkstl.cpp:71:231: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("iterator")) || (tok->str() == MatchCompiler::makeConstString("const_iterator")) || (tok->str() == MatchCompiler::makeConstString("reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("const_reverse_iterator")) || ((tok->tokType() == Token::eKeyword || tok->tokType() == Token::eType) && tok->str() == MatchCompiler::makeConstString("auto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 14 warnings generated. [ 39%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkuninitvar.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkuninitvar.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkuninitvar.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkuninitvar.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkuninitvar.cpp 28 warnings generated. [ 40%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkunusedfunctions.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkunusedfunctions.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkunusedfunctions.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkunusedfunctions.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedfunctions.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkuninitvar.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkuninitvar.cpp:8:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString(".")) || (tok->str() == MatchCompiler::makeConstString("::")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkuninitvar.cpp:8:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString(".")) || (tok->str() == MatchCompiler::makeConstString("::")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkuninitvar.cpp:8:86: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString(".")) || (tok->str() == MatchCompiler::makeConstString("::")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkuninitvar.cpp:107:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("std"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkuninitvar.cpp:113:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("array"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkuninitvar.cpp:113:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("array"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkuninitvar.cpp:419:127: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || (tok->str() == MatchCompiler::makeConstString("setjmp")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkuninitvar.cpp:440:267: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")) || (tok->str() == MatchCompiler::makeConstString("throw")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkuninitvar.cpp:440:267: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")) || (tok->str() == MatchCompiler::makeConstString("throw")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedfunctions.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedfunctions.cpp:11:72: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("("))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedfunctions.cpp:11:72: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("("))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedfunctions.cpp:47:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("::"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedfunctions.cpp:83:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")) || (tok->str() == MatchCompiler::makeConstString("throw")) || ((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("{")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedfunctions.cpp:83:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")) || (tok->str() == MatchCompiler::makeConstString("throw")) || ((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("{")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedfunctions.cpp:83:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")) || (tok->str() == MatchCompiler::makeConstString("throw")) || ((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("{")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/checkunusedfunctions.cpp:316:57: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here (settings.isWindowsPlatform() && (it->first == MatchCompiler::makeConstString("WinMain") || it->first == MatchCompiler::makeConstString("_tmain"))) || ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/checkunusedfunctions.cpp:316:57: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here (settings.isWindowsPlatform() && (it->first == MatchCompiler::makeConstString("WinMain") || it->first == MatchCompiler::makeConstString("_tmain"))) || ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 16 warnings generated. [ 40%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkunusedvar.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkunusedvar.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkunusedvar.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkunusedvar.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:8:74: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eAssignmentOp) && tok->str() == MatchCompiler::makeConstString("="))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:8:74: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eAssignmentOp) && tok->str() == MatchCompiler::makeConstString("="))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:47:68: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (tok && (((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:47:68: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (tok && (((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:47:68: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (tok && (((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:47:68: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (tok && (((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:49:68: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (tok && (((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("struct")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("union")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:436:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("nothrow"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:519:633: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("calloc")) || (tok->str() == MatchCompiler::makeConstString("kmalloc")) || (tok->str() == MatchCompiler::makeConstString("kzalloc")) || (tok->str() == MatchCompiler::makeConstString("kcalloc")) || (tok->str() == MatchCompiler::makeConstString("strdup")) || (tok->str() == MatchCompiler::makeConstString("strndup")) || (tok->str() == MatchCompiler::makeConstString("vmalloc")) || (tok->str() == MatchCompiler::makeConstString("g_new0")) || (tok->str() == MatchCompiler::makeConstString("g_try_new")) || (tok->str() == MatchCompiler::makeConstString("g_new")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_strdup")) || (tok->str() == MatchCompiler::makeConstString("g_strndup")) || (tok->str() == MatchCompiler::makeConstString("g_strdup_printf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:519:633: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("calloc")) || (tok->str() == MatchCompiler::makeConstString("kmalloc")) || (tok->str() == MatchCompiler::makeConstString("kzalloc")) || (tok->str() == MatchCompiler::makeConstString("kcalloc")) || (tok->str() == MatchCompiler::makeConstString("strdup")) || (tok->str() == MatchCompiler::makeConstString("strndup")) || (tok->str() == MatchCompiler::makeConstString("vmalloc")) || (tok->str() == MatchCompiler::makeConstString("g_new0")) || (tok->str() == MatchCompiler::makeConstString("g_try_new")) || (tok->str() == MatchCompiler::makeConstString("g_new")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_strdup")) || (tok->str() == MatchCompiler::makeConstString("g_strndup")) || (tok->str() == MatchCompiler::makeConstString("g_strdup_printf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:519:880: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("calloc")) || (tok->str() == MatchCompiler::makeConstString("kmalloc")) || (tok->str() == MatchCompiler::makeConstString("kzalloc")) || (tok->str() == MatchCompiler::makeConstString("kcalloc")) || (tok->str() == MatchCompiler::makeConstString("strdup")) || (tok->str() == MatchCompiler::makeConstString("strndup")) || (tok->str() == MatchCompiler::makeConstString("vmalloc")) || (tok->str() == MatchCompiler::makeConstString("g_new0")) || (tok->str() == MatchCompiler::makeConstString("g_try_new")) || (tok->str() == MatchCompiler::makeConstString("g_new")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_strdup")) || (tok->str() == MatchCompiler::makeConstString("g_strndup")) || (tok->str() == MatchCompiler::makeConstString("g_strdup_printf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:519:880: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("calloc")) || (tok->str() == MatchCompiler::makeConstString("kmalloc")) || (tok->str() == MatchCompiler::makeConstString("kzalloc")) || (tok->str() == MatchCompiler::makeConstString("kcalloc")) || (tok->str() == MatchCompiler::makeConstString("strdup")) || (tok->str() == MatchCompiler::makeConstString("strndup")) || (tok->str() == MatchCompiler::makeConstString("vmalloc")) || (tok->str() == MatchCompiler::makeConstString("g_new0")) || (tok->str() == MatchCompiler::makeConstString("g_try_new")) || (tok->str() == MatchCompiler::makeConstString("g_new")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_strdup")) || (tok->str() == MatchCompiler::makeConstString("g_strndup")) || (tok->str() == MatchCompiler::makeConstString("g_strdup_printf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:519:880: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("calloc")) || (tok->str() == MatchCompiler::makeConstString("kmalloc")) || (tok->str() == MatchCompiler::makeConstString("kzalloc")) || (tok->str() == MatchCompiler::makeConstString("kcalloc")) || (tok->str() == MatchCompiler::makeConstString("strdup")) || (tok->str() == MatchCompiler::makeConstString("strndup")) || (tok->str() == MatchCompiler::makeConstString("vmalloc")) || (tok->str() == MatchCompiler::makeConstString("g_new0")) || (tok->str() == MatchCompiler::makeConstString("g_try_new")) || (tok->str() == MatchCompiler::makeConstString("g_new")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_strdup")) || (tok->str() == MatchCompiler::makeConstString("g_strndup")) || (tok->str() == MatchCompiler::makeConstString("g_strdup_printf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:519:946: note: in instantiation of function template specialization 'MatchCompiler::operator==<14U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("calloc")) || (tok->str() == MatchCompiler::makeConstString("kmalloc")) || (tok->str() == MatchCompiler::makeConstString("kzalloc")) || (tok->str() == MatchCompiler::makeConstString("kcalloc")) || (tok->str() == MatchCompiler::makeConstString("strdup")) || (tok->str() == MatchCompiler::makeConstString("strndup")) || (tok->str() == MatchCompiler::makeConstString("vmalloc")) || (tok->str() == MatchCompiler::makeConstString("g_new0")) || (tok->str() == MatchCompiler::makeConstString("g_try_new")) || (tok->str() == MatchCompiler::makeConstString("g_new")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_strdup")) || (tok->str() == MatchCompiler::makeConstString("g_strndup")) || (tok->str() == MatchCompiler::makeConstString("g_strdup_printf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:519:1138: note: in instantiation of function template specialization 'MatchCompiler::operator==<16U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("calloc")) || (tok->str() == MatchCompiler::makeConstString("kmalloc")) || (tok->str() == MatchCompiler::makeConstString("kzalloc")) || (tok->str() == MatchCompiler::makeConstString("kcalloc")) || (tok->str() == MatchCompiler::makeConstString("strdup")) || (tok->str() == MatchCompiler::makeConstString("strndup")) || (tok->str() == MatchCompiler::makeConstString("vmalloc")) || (tok->str() == MatchCompiler::makeConstString("g_new0")) || (tok->str() == MatchCompiler::makeConstString("g_try_new")) || (tok->str() == MatchCompiler::makeConstString("g_new")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_strdup")) || (tok->str() == MatchCompiler::makeConstString("g_strndup")) || (tok->str() == MatchCompiler::makeConstString("g_strdup_printf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkunusedvar.cpp:519:1138: note: in instantiation of function template specialization 'MatchCompiler::operator==<16U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("new")) || (tok->str() == MatchCompiler::makeConstString("malloc")) || (tok->str() == MatchCompiler::makeConstString("calloc")) || (tok->str() == MatchCompiler::makeConstString("kmalloc")) || (tok->str() == MatchCompiler::makeConstString("kzalloc")) || (tok->str() == MatchCompiler::makeConstString("kcalloc")) || (tok->str() == MatchCompiler::makeConstString("strdup")) || (tok->str() == MatchCompiler::makeConstString("strndup")) || (tok->str() == MatchCompiler::makeConstString("vmalloc")) || (tok->str() == MatchCompiler::makeConstString("g_new0")) || (tok->str() == MatchCompiler::makeConstString("g_try_new")) || (tok->str() == MatchCompiler::makeConstString("g_new")) || (tok->str() == MatchCompiler::makeConstString("g_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc")) || (tok->str() == MatchCompiler::makeConstString("g_try_malloc0")) || (tok->str() == MatchCompiler::makeConstString("g_strdup")) || (tok->str() == MatchCompiler::makeConstString("g_strndup")) || (tok->str() == MatchCompiler::makeConstString("g_strdup_printf")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 18 warnings generated. [ 40%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_checkvaarg.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_checkvaarg.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_checkvaarg.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_checkvaarg.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkvaarg.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkvaarg.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkvaarg.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("va_start"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkvaarg.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("va_start"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkvaarg.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("va_start"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkvaarg.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("va_start"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkvaarg.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("va_start"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkvaarg.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("va_start"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkvaarg.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("va_start"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkvaarg.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("va_start"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_checkvaarg.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("va_start"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 18 warnings generated. [ 40%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_clangimport.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_clangimport.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_clangimport.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_clangimport.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_clangimport.cpp 42 warnings generated. [ 41%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_color.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_color.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_color.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_color.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_color.cpp [ 41%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_cppcheck.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_cppcheck.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_cppcheck.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_cppcheck.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_cppcheck.cpp /builddir/build/BUILD/cppcheck-2.9/lib/clangimport.cpp:506:45: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] col = std::atoi(ext.c_str() + ext.find(", col:") + 6); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/clangimport.cpp:506:37: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] col = std::atoi(ext.c_str() + ext.find(", col:") + 6); ~~~~^~~~~~~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_clangimport.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_clangimport.cpp:8:68: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(((tok->tokType() == Token::eBitOp) && tok->str() == MatchCompiler::makeConstString("&")) || ((tok->tokType() == Token::eArithmeticalOp) && tok->str() == MatchCompiler::makeConstString("*")) || tok->isName())) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_clangimport.cpp:8:68: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(((tok->tokType() == Token::eBitOp) && tok->str() == MatchCompiler::makeConstString("&")) || ((tok->tokType() == Token::eArithmeticalOp) && tok->str() == MatchCompiler::makeConstString("*")) || tok->isName())) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_clangimport.cpp:14:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("if")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("for")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("while")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_clangimport.cpp:14:165: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("if")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("for")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("while")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_clangimport.cpp:14:261: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("if")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("for")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("while")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_clangimport.cpp:14:261: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("if")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("for")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("while")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_clangimport.cpp:38:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("sizeof"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 46 warnings generated. [ 41%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_ctu.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_ctu.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_ctu.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_ctu.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_ctu.cpp 32 warnings generated. [ 41%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_errorlogger.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_errorlogger.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_errorlogger.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_errorlogger.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_errorlogger.cpp /builddir/build/BUILD/cppcheck-2.9/lib/cppcheck.cpp:1273:13: warning: 'ovector' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] int ovector[30]= {0}; ~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/cppcheck.cpp:1291:53: note: used in buffer access here const unsigned int pos2 = (unsigned int)ovector[1]; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/clangimport.cpp:687:35: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (astNode->nodeType == MatchCompiler::makeConstString("VisibilityAttr")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/clangimport.cpp:687:35: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (astNode->nodeType == MatchCompiler::makeConstString("VisibilityAttr")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/clangimport.cpp:687:35: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (astNode->nodeType == MatchCompiler::makeConstString("VisibilityAttr")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/clangimport.cpp:687:35: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (astNode->nodeType == MatchCompiler::makeConstString("VisibilityAttr")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/clangimport.cpp:687:35: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (astNode->nodeType == MatchCompiler::makeConstString("VisibilityAttr")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/clangimport.cpp:687:35: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (astNode->nodeType == MatchCompiler::makeConstString("VisibilityAttr")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/clangimport.cpp:687:35: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (astNode->nodeType == MatchCompiler::makeConstString("VisibilityAttr")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/clangimport.cpp:687:35: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here if (astNode->nodeType == MatchCompiler::makeConstString("VisibilityAttr")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp:501:53: warning: 'path' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const CTU::FileInfo::CallBase *path[10], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp:536:13: note: used in buffer access here path[index] = functionCall; ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp:545:13: note: used in buffer access here path[index] = nestedCall; ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp:562:36: warning: 'path' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const CTU::FileInfo::CallBase *path[10] = {nullptr}; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp:582:47: note: used in buffer access here fileLoc.setinfo("Calling function " + path[index]->callFunctionName + ", " + MathLib::toString(path[index]->callArgNr) + getOrdinalText(path[index]->callArgNr) + " argument is " + value1); ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp:573:109: note: used in buffer access here const CTU::FileInfo::FunctionCall *functionCall = dynamic_cast(path[index]); ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp:581:44: note: used in buffer access here ErrorMessage::FileLocation fileLoc(path[index]->location.fileName, path[index]->location.lineNumber, path[index]->location.column); ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp:570:14: note: used in buffer access here if (!path[index]) ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp:581:110: note: used in buffer access here ErrorMessage::FileLocation fileLoc(path[index]->location.fileName, path[index]->location.lineNumber, path[index]->location.column); ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp:582:104: note: used in buffer access here fileLoc.setinfo("Calling function " + path[index]->callFunctionName + ", " + MathLib::toString(path[index]->callArgNr) + getOrdinalText(path[index]->callArgNr) + " argument is " + value1); ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp:582:145: note: used in buffer access here fileLoc.setinfo("Calling function " + path[index]->callFunctionName + ", " + MathLib::toString(path[index]->callArgNr) + getOrdinalText(path[index]->callArgNr) + " argument is " + value1); ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp:581:76: note: used in buffer access here ErrorMessage::FileLocation fileLoc(path[index]->location.fileName, path[index]->location.lineNumber, path[index]->location.column); ^~~~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_ctu.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_ctu.cpp:20:109: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(((tok->tokType() == Token::eExtendedOp || tok->tokType() == Token::eLambda) && tok->str() == MatchCompiler::makeConstString("]")) || ((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString(")")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_ctu.cpp:20:109: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(((tok->tokType() == Token::eExtendedOp || tok->tokType() == Token::eLambda) && tok->str() == MatchCompiler::makeConstString("]")) || ((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString(")")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_ctu.cpp:35:167: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !(((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString(")")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("else")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_ctu.cpp:35:167: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !(((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString(")")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("else")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_ctu.cpp:35:167: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !(((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString(")")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("else")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_ctu.cpp:47:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")) || (tok->str() == MatchCompiler::makeConstString("throw")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp:448:17: note: in instantiation of function template specialization 'findmatch5' requested here if (findmatch5(tok2->link(), tok2) ) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_ctu.cpp:47:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")) || (tok->str() == MatchCompiler::makeConstString("throw")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/ctu.cpp:448:17: note: in instantiation of function template specialization 'findmatch5' requested here if (findmatch5(tok2->link(), tok2) ) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_errorlogger.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:278:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (temp == MatchCompiler::makeConstString("inconclusive")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:278:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (temp == MatchCompiler::makeConstString("inconclusive")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:278:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (temp == MatchCompiler::makeConstString("inconclusive")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:278:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (temp == MatchCompiler::makeConstString("inconclusive")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:278:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (temp == MatchCompiler::makeConstString("inconclusive")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:278:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (temp == MatchCompiler::makeConstString("inconclusive")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:278:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (temp == MatchCompiler::makeConstString("inconclusive")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:278:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (temp == MatchCompiler::makeConstString("inconclusive")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:278:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (temp == MatchCompiler::makeConstString("inconclusive")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:278:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (temp == MatchCompiler::makeConstString("inconclusive")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:278:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (temp == MatchCompiler::makeConstString("inconclusive")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:278:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (temp == MatchCompiler::makeConstString("inconclusive")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:278:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (temp == MatchCompiler::makeConstString("inconclusive")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:587:23: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here if (s.errorId == MatchCompiler::makeConstString("unmatchedSuppression")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:587:23: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here if (s.errorId == MatchCompiler::makeConstString("unmatchedSuppression")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:587:23: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here if (s.errorId == MatchCompiler::makeConstString("unmatchedSuppression")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:587:23: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here if (s.errorId == MatchCompiler::makeConstString("unmatchedSuppression")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:587:23: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here if (s.errorId == MatchCompiler::makeConstString("unmatchedSuppression")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:587:23: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here if (s.errorId == MatchCompiler::makeConstString("unmatchedSuppression")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:587:23: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here if (s.errorId == MatchCompiler::makeConstString("unmatchedSuppression")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errorlogger.cpp:587:23: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here if (s.errorId == MatchCompiler::makeConstString("unmatchedSuppression")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_cppcheck.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/cppcheck.cpp:757:32: note: in instantiation of function template specialization 'MatchCompiler::operator!=<7U>' requested here if (rule.tokenlist != MatchCompiler::makeConstString("define")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/cppcheck.cpp:757:32: note: in instantiation of function template specialization 'MatchCompiler::operator!=<7U>' requested here if (rule.tokenlist != MatchCompiler::makeConstString("define")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/cppcheck.cpp:757:32: note: in instantiation of function template specialization 'MatchCompiler::operator!=<7U>' requested here if (rule.tokenlist != MatchCompiler::makeConstString("define")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/cppcheck.cpp:757:32: note: in instantiation of function template specialization 'MatchCompiler::operator!=<7U>' requested here if (rule.tokenlist != MatchCompiler::makeConstString("define")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/cppcheck.cpp:757:32: note: in instantiation of function template specialization 'MatchCompiler::operator!=<7U>' requested here if (rule.tokenlist != MatchCompiler::makeConstString("define")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/cppcheck.cpp:757:32: note: in instantiation of function template specialization 'MatchCompiler::operator!=<7U>' requested here if (rule.tokenlist != MatchCompiler::makeConstString("define")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/cppcheck.cpp:757:32: note: in instantiation of function template specialization 'MatchCompiler::operator!=<7U>' requested here if (rule.tokenlist != MatchCompiler::makeConstString("define")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 16 warnings generated. [ 43%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_errortypes.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_errortypes.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_errortypes.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_errortypes.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_errortypes.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_errortypes.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errortypes.cpp:72:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (severity == MatchCompiler::makeConstString("none")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errortypes.cpp:72:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (severity == MatchCompiler::makeConstString("none")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errortypes.cpp:72:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (severity == MatchCompiler::makeConstString("none")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errortypes.cpp:72:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (severity == MatchCompiler::makeConstString("none")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errortypes.cpp:72:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (severity == MatchCompiler::makeConstString("none")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errortypes.cpp:74:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (severity == MatchCompiler::makeConstString("error")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errortypes.cpp:76:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (severity == MatchCompiler::makeConstString("warning")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errortypes.cpp:76:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (severity == MatchCompiler::makeConstString("warning")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errortypes.cpp:80:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here if (severity == MatchCompiler::makeConstString("performance")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errortypes.cpp:80:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here if (severity == MatchCompiler::makeConstString("performance")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errortypes.cpp:80:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here if (severity == MatchCompiler::makeConstString("performance")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/errortypes.cpp:80:18: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here if (severity == MatchCompiler::makeConstString("performance")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 42 warnings generated. [ 43%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_forwardanalyzer.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_forwardanalyzer.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_forwardanalyzer.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_forwardanalyzer.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_forwardanalyzer.cpp 24 warnings generated. [ 43%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_importproject.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_importproject.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_importproject.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_importproject.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_importproject.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_forwardanalyzer.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_forwardanalyzer.cpp:8:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_forwardanalyzer.cpp:8:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_forwardanalyzer.cpp:8:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_forwardanalyzer.cpp:8:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_forwardanalyzer.cpp:8:166: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_forwardanalyzer.cpp:14:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("setjmp")) || (tok->str() == MatchCompiler::makeConstString("longjmp")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_forwardanalyzer.cpp:14:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("setjmp")) || (tok->str() == MatchCompiler::makeConstString("longjmp")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_forwardanalyzer.cpp:14:91: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("setjmp")) || (tok->str() == MatchCompiler::makeConstString("longjmp")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_forwardanalyzer.cpp:23:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_importproject.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:342:37: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here } else if (F == 'i' && fval == MatchCompiler::makeConstString("system")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:342:37: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here } else if (F == 'i' && fval == MatchCompiler::makeConstString("system")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:342:37: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here } else if (F == 'i' && fval == MatchCompiler::makeConstString("system")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:342:37: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here } else if (F == 'i' && fval == MatchCompiler::makeConstString("system")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:342:37: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here } else if (F == 'i' && fval == MatchCompiler::makeConstString("system")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:342:37: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here } else if (F == 'i' && fval == MatchCompiler::makeConstString("system")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:342:37: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here } else if (F == 'i' && fval == MatchCompiler::makeConstString("system")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:347:22: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (fval == MatchCompiler::makeConstString("unicode")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:586:64: note: in instantiation of function template specialization 'MatchCompiler::operator==<23U>' requested here if (tok->astOperand1()->expressionString() == MatchCompiler::makeConstString("Configuration.Contains")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<24U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:793:46: note: in instantiation of function template specialization 'MatchCompiler::operator==<24U>' requested here if (i.enhancedInstructionSet == MatchCompiler::makeConstString("StreamingSIMDExtensions")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<25U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:795:51: note: in instantiation of function template specialization 'MatchCompiler::operator==<25U>' requested here else if (i.enhancedInstructionSet == MatchCompiler::makeConstString("StreamingSIMDExtensions2")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<26U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:799:51: note: in instantiation of function template specialization 'MatchCompiler::operator==<26U>' requested here else if (i.enhancedInstructionSet == MatchCompiler::makeConstString("AdvancedVectorExtensions2")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:801:51: note: in instantiation of function template specialization 'MatchCompiler::operator==<28U>' requested here else if (i.enhancedInstructionSet == MatchCompiler::makeConstString("AdvancedVectorExtensions512")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<27U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/importproject.cpp:801:51: note: in instantiation of function template specialization 'MatchCompiler::operator==<28U>' requested here else if (i.enhancedInstructionSet == MatchCompiler::makeConstString("AdvancedVectorExtensions512")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 32 warnings generated. [ 43%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_infer.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_infer.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_infer.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_infer.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_infer.cpp 18 warnings generated. [ 44%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_library.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_library.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_library.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_library.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_library.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_infer.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/infer.cpp:317:12: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (op == MatchCompiler::makeConstString("-")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/infer.cpp:317:12: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (op == MatchCompiler::makeConstString("-")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/infer.cpp:341:20: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here } else if ((op == MatchCompiler::makeConstString("!=") || op == MatchCompiler::makeConstString("==")) && lhs.isScalarOrEmpty() && rhs.isScalarOrEmpty()) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:46:24: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] while (const char *p = std::strchr(names,',')) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:48:17: note: used in pointer arithmetic here names = p + 1; ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:252:33: warning: 'bufferSize' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char *bufferSize = memorynode->Attribute("buffer-size"); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:268:84: note: used in buffer access here } else if (bufferSize[6] == ':' && bufferSize[7] >= '1' && bufferSize[7] <= '5') { ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:269:51: note: used in buffer access here temp.bufferSizeArg1 = bufferSize[7] - '0'; ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:270:33: note: used in buffer access here if (bufferSize[8] == ',' && bufferSize[9] >= '1' && bufferSize[9] <= '5') ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:270:57: note: used in buffer access here if (bufferSize[8] == ',' && bufferSize[9] >= '1' && bufferSize[9] <= '5') ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:270:81: note: used in buffer access here if (bufferSize[8] == ',' && bufferSize[9] >= '1' && bufferSize[9] <= '5') ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:271:55: note: used in buffer access here temp.bufferSizeArg2 = bufferSize[9] - '0'; ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:266:29: note: used in buffer access here if (bufferSize[6] == 0) { ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:268:60: note: used in buffer access here } else if (bufferSize[6] == ':' && bufferSize[7] >= '1' && bufferSize[7] <= '5') { ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:268:36: note: used in buffer access here } else if (bufferSize[6] == ':' && bufferSize[7] >= '1' && bufferSize[7] <= '5') { ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:1253:59: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] bool Library::isCompliantValidationExpression(const char* p) ~~~~~~~~~~~~^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:1264:16: note: used in pointer arithmetic here for (; *p; p++) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:1266:25: note: used in pointer arithmetic here error |= (*(p + 1) == '-'); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:1269:33: note: used in pointer arithmetic here error |= range | (*(p + 1) == '.'); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:1283:49: note: used in pointer arithmetic here error |= has_dot | (!std::isdigit(*(p + 1))); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:1275:39: note: used in pointer arithmetic here error |= (!std::isdigit(*(p + 1))); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:1279:24: note: used in pointer arithmetic here error |= *(p + 1) == '.'; ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:1289:27: note: used in pointer arithmetic here error |= !((*(p+1) == '-') || (*(p+1) == '+') || (std::isdigit(*(p + 1)))); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:1289:46: note: used in pointer arithmetic here error |= !((*(p+1) == '-') || (*(p+1) == '+') || (std::isdigit(*(p + 1)))); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:1289:78: note: used in pointer arithmetic here error |= !((*(p+1) == '-') || (*(p+1) == '+') || (std::isdigit(*(p + 1)))); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:1684:47: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] nonneg int id = std::atoi(tok2->str().c_str() + 3); ~~~~~~~~~~~~^~~~~~~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_library.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_library.cpp:8:76: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eArithmeticalOp) && tok->str() == MatchCompiler::makeConstString("-"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_library.cpp:8:76: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eArithmeticalOp) && tok->str() == MatchCompiler::makeConstString("-"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_library.cpp:83:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("::"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_library.cpp:184:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("empty"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_library.cpp:184:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("empty"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_library.cpp:184:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("empty"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_library.cpp:196:89: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("size")) || (tok->str() == MatchCompiler::makeConstString("length")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:147:19: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (yieldName == MatchCompiler::makeConstString("at_index")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:147:19: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (yieldName == MatchCompiler::makeConstString("at_index")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:153:24: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here else if (yieldName == MatchCompiler::makeConstString("buffer-nt")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:155:24: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here else if (yieldName == MatchCompiler::makeConstString("start-iterator")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:155:24: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here else if (yieldName == MatchCompiler::makeConstString("start-iterator")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:155:24: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here else if (yieldName == MatchCompiler::makeConstString("start-iterator")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:155:24: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here else if (yieldName == MatchCompiler::makeConstString("start-iterator")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:155:24: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here else if (yieldName == MatchCompiler::makeConstString("start-iterator")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:186:25: note: in instantiation of function template specialization 'MatchCompiler::operator==<16U>' requested here else if (actionName == MatchCompiler::makeConstString("change-internal")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:517:46: note: in instantiation of function template specialization 'MatchCompiler::operator==<20U>' requested here } else if (containerNodeName == MatchCompiler::makeConstString("rangeItemRecordType")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:517:46: note: in instantiation of function template specialization 'MatchCompiler::operator==<20U>' requested here } else if (containerNodeName == MatchCompiler::makeConstString("rangeItemRecordType")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h6 warnings generated. :43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:517:46: note: in instantiation of function template specialization 'MatchCompiler::operator==<20U>' requested here } else if (containerNodeName == MatchCompiler::makeConstString("rangeItemRecordType")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:517:46: note: in instantiation of function template specialization 'MatchCompiler::operator==<20U>' requested here } else if (containerNodeName == MatchCompiler::makeConstString("rangeItemRecordType")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ [ 44%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_mathlib.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_mathlib.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_mathlib.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_mathlib.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_mathlib.cpp /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/library.cpp:683:35: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here else if (functionnodename == MatchCompiler::makeConstString("not-overlapping-data")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_mathlib.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/mathlib.cpp:495:22: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (result.str() == MatchCompiler::makeConstString("-0")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/mathlib.cpp:495:22: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (result.str() == MatchCompiler::makeConstString("-0")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/mathlib.cpp:495:22: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (result.str() == MatchCompiler::makeConstString("-0")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/mathlib.cpp:980:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (suffix1 == MatchCompiler::makeConstString("ULL") || suffix2 == MatchCompiler::makeConstString("ULL")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 8 warnings generated. [ 44%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_path.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_path.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_path.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_path.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_path.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_path.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/path.cpp:174:22: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here return extension == MatchCompiler::makeConstString(".c") || ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/path.cpp:174:22: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here return extension == MatchCompiler::makeConstString(".c") || ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/path.cpp:174:22: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here return extension == MatchCompiler::makeConstString(".c") || ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/path.cpp:175:22: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here extension == MatchCompiler::makeConstString(".cl"); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/path.cpp:181:22: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here return extension == MatchCompiler::makeConstString(".cpp") || ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 10 warnings generated. [ 44%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_pathanalysis.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_pathanalysis.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_pathanalysis.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_pathanalysis.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_pathanalysis.cpp 56 warnings generated. [ 45%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_pathmatch.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_pathmatch.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_pathmatch.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_pathmatch.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_pathmatch.cpp 15 warnings generated. In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_pathanalysis.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_pathanalysis.cpp:14:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_pathanalysis.cpp:14:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_pathanalysis.cpp:14:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_pathanalysis.cpp:14:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_pathanalysis.cpp:14:166: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_pathanalysis.cpp:14:263: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_pathanalysis.cpp:14:361: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_pathanalysis.cpp:14:361: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here[ 45%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_platform.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_platform.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_platform.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_platform.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_platform.cpp return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_pathanalysis.cpp:14:361: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("asm")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("goto")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ [ 45%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_preprocessor.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_preprocessor.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_preprocessor.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_preprocessor.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_preprocessor.cpp [ 46%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_programmemory.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_programmemory.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_programmemory.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_programmemory.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_programmemory.cpp 18 warnings generated. [ 46%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_reverseanalyzer.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_reverseanalyzer.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_reverseanalyzer.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_reverseanalyzer.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_reverseanalyzer.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_preprocessor.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/preprocessor.cpp:178:59: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here tok->previous->str() == MatchCompiler::makeConstString("{"); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/preprocessor.cpp:178:59: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here tok->previous->str() == MatchCompiler::makeConstString("{"); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/preprocessor.cpp:221:47: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (tok->next && tok->next->str() == MatchCompiler::makeConstString("endfile")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/preprocessor.cpp:221:47: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (tok->next && tok->next->str() == MatchCompiler::makeConstString("endfile")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/preprocessor.cpp:221:47: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (tok->next && tok->next->str() == MatchCompiler::makeConstString("endfile")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/preprocessor.cpp:221:47: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (tok->next && tok->next->str() == MatchCompiler::makeConstString("endfile")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/preprocessor.cpp:221:47: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (tok->next && tok->next->str() == MatchCompiler::makeConstString("endfile")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/preprocessor.cpp:221:47: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here if (tok->next && tok->next->str() == MatchCompiler::makeConstString("endfile")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_reverseanalyzer.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_reverseanalyzer.cpp:8:73: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("(")) || ((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("{")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_reverseanalyzer.cpp:8:73: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("(")) || ((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("{")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_reverseanalyzer.cpp:20:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !((tok->tokType() == Token::eLogicalOp && tok->str() == MatchCompiler::makeConstString("||")) || ((tok->tokType() == Token::eLogicalOp) && tok->str() == MatchCompiler::makeConstString("&&")) || ((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("?")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_reverseanalyzer.cpp:26:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_reverseanalyzer.cpp:26:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_reverseanalyzer.cpp:26:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_reverseanalyzer.cpp:26:70: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_reverseanalyzer.cpp:26:267: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_reverseanalyzer.cpp:26:267: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("return")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("break")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("continue")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_programmemory.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_programmemory.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("}"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_programmemory.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("}"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_programmemory.cpp:23:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("for"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_programmemory.cpp:23:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("for"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_programmemory.cpp:98:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("else"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_programmemory.cpp:107:166: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("for")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("while")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 18 warnings generated. [ 46%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_settings.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_settings.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_settings.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_settings.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_settings.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_settings.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:131:13: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (str == MatchCompiler::makeConstString("all")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:131:13: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (str == MatchCompiler::makeConstString("all")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:131:13: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (str == MatchCompiler::makeConstString("all")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:131:13: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (str == MatchCompiler::makeConstString("all")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:135:20: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here } else if (str == MatchCompiler::makeConstString("warning")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:135:20: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here } else if (str == MatchCompiler::makeConstString("warning")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:135:20: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here } else if (str == MatchCompiler::makeConstString("warning")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:135:20: note: in instantiation of function template specialization 'MatchCompiler::operator==<8U>' requested here } else if (str == MatchCompiler::makeConstString("warning")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:139:20: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here } else if (str == MatchCompiler::makeConstString("performance")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:139:20: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here } else if (str == MatchCompiler::makeConstString("performance")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:139:20: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here } else if (str == MatchCompiler::makeConstString("performance")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:139:20: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here } else if (str == MatchCompiler::makeConstString("performance")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:146:20: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here } else if (str == MatchCompiler::makeConstString("unusedFunction")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:146:20: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here } else if (str == MatchCompiler::makeConstString("unusedFunction")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/settings.cpp:146:20: note: in instantiation of function template specialization 'MatchCompiler::operator==<15U>' requested here } else if (str == MatchCompiler::makeConstString("unusedFunction")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 46 warnings generated. [ 46%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_summaries.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_summaries.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_summaries.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_summaries.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_summaries.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_summaries.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_summaries.cpp:11:72: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("("))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_summaries.cpp:11:72: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("("))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 30 warnings generated. [ 47%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_suppressions.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_suppressions.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_suppressions.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_suppressions.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_suppressions.cpp 4 warnings generated. [ 47%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_symboldatabase.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_symboldatabase.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_symboldatabase.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_symboldatabase.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:241:42: warning: result of comparison of unsigned expression < 0 is always false [-Wtautological-unsigned-zero-compare] if (suppression.errorId[pos] < 0 || !isAcceptedErrorIdChar(suppression.errorId[pos])) { ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_suppressions.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:239:29: note: in instantiation of function template specialization 'MatchCompiler::operator!=<2U>' requested here if (suppression.errorId != MatchCompiler::makeConstString("*")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:239:29: note: in instantiation of function template specialization 'MatchCompiler::operator!=<2U>' requested here if (suppression.errorId != MatchCompiler::makeConstString("*")) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 7 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 8 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:63:17: note: in instantiation of function template specialization 'MatchCompiler::operator==<18U>' requested here return !operator==(s1,s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:292:14: note: in instantiation of function template specialization 'MatchCompiler::operator!=<18U>' requested here if (word != MatchCompiler::makeConstString("cppcheck-suppress")) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:371:52: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here const bool unmatchedSuppression(errmsg.errorId == MatchCompiler::makeConstString("unmatchedSuppression")); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:371:52: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here const bool unmatchedSuppression(errmsg.errorId == MatchCompiler::makeConstString("unmatchedSuppression")); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/lib/suppressions.cpp:371:52: note: in instantiation of function template specialization 'MatchCompiler::operator==<21U>' requested here const bool unmatchedSuppression(errmsg.errorId == MatchCompiler::makeConstString("unmatchedSuppression")); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 43 warnings generated. [ 47%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_templatesimplifier.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_templatesimplifier.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_templatesimplifier.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_templatesimplifier.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp 16 warnings generated. [ 47%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_timer.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_timer.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_timer.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_timer.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_timer.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("::"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("::"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("::"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:68:126: note: in instantiation of function template specialization 'MatchCompiler::operator==<4U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("do")) || (tok->str() == MatchCompiler::makeConstString("try")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("else")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:68:222: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("do")) || (tok->str() == MatchCompiler::makeConstString("try")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("else")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:86:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("class")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("struct")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("union")) || (tok->str() == MatchCompiler::makeConstString("namespace")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:86:129: note: in instantiation of function template specialization 'MatchCompiler::operator==<7U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("class")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("struct")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("union")) || (tok->str() == MatchCompiler::makeConstString("namespace")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:86:287: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("class")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("struct")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("union")) || (tok->str() == MatchCompiler::makeConstString("namespace")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:86:287: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("class")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("struct")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("union")) || (tok->str() == MatchCompiler::makeConstString("namespace")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:86:287: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("class")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("struct")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("union")) || (tok->str() == MatchCompiler::makeConstString("namespace")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:815:335: note: in instantiation of function template specialization 'MatchCompiler::operator==<11U>' requested here if (!tok || !(((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("{")) || ((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("}")) || (tok->str() == MatchCompiler::makeConstString(";")) || (tok->str() == MatchCompiler::makeConstString("public:")) || (tok->str() == MatchCompiler::makeConstString("protected:")) || (tok->str() == MatchCompiler::makeConstString("private:")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:1735:95: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:1735:95: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:1735:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:1735:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:1735:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_symboldatabase.cpp:1735:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("requires"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("requires"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("requires"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("requires"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("requires"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("requires"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("requires"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("requires"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:8:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("requires"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:531:92: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("private")) || (tok->str() == MatchCompiler::makeConstString("protected")) || (tok->str() == MatchCompiler::makeConstString("public")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:567:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<11U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:567:95: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:567:95: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:567:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:567:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:567:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_templatesimplifier.cpp:567:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ [ 48%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_token.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_token.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_token.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_token.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_token.cpp /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:424:63: warning: 'haystack' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static int multiComparePercent(const Token *tok, const char*& haystack, nonneg int varid) ~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:433:9: note: used in pointer arithmetic here haystack += 1; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:456:9: note: used in pointer arithmetic here haystack += 5; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:426:7: note: used in pointer arithmetic here ++haystack; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:447:13: note: used in pointer arithmetic here haystack += 6; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:465:13: note: used in pointer arithmetic here haystack += 4; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:468:13: note: used in pointer arithmetic here haystack += 7; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:478:13: note: used in pointer arithmetic here haystack += 5; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:482:13: note: used in pointer arithmetic here haystack += 4; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:489:9: note: used in pointer arithmetic here haystack += 1; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:492:13: note: used in pointer arithmetic here haystack += 4; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:498:13: note: used in pointer arithmetic here haystack += 3; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:504:13: note: used in pointer arithmetic here haystack += 4; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:513:9: note: used in pointer arithmetic here haystack += 4; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:521:9: note: used in pointer arithmetic here haystack += 5; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:531:17: note: used in pointer arithmetic here haystack += 2; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:537:17: note: used in pointer arithmetic here haystack += 2; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:545:13: note: used in pointer arithmetic here haystack += 4; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:557:9: note: used in pointer arithmetic here haystack += 1; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:439:13: note: used in pointer arithmetic here haystack += 4; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:528:13: note: used in buffer access here if (haystack[1] == '%') { ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:438:13: note: used in buffer access here if (haystack[3] == '%') { // %var% ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:497:18: note: used in buffer access here else if (haystack[1] == 'p') { ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:527:11: note: used in pointer arithmetic here ++haystack; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:464:13: note: used in buffer access here if (haystack[3] == '%') { // %any% ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:477:13: note: used in buffer access here if (haystack[4] == '%') { // %name% ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:564:55: warning: 'haystack' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] int Token::multiCompare(const Token *tok, const char *haystack, nonneg int varid) ~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:569:84: note: used in buffer access here if (needlePointer == needle && haystack[0] == '%' && haystack[1] != '|' && haystack[1] != '\0' && haystack[1] != ' ') { ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:569:107: note: used in buffer access here if (needlePointer == needle && haystack[0] == '%' && haystack[1] != '|' && haystack[1] != '\0' && haystack[1] != ' ') { ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:569:62: note: used in buffer access here if (needlePointer == needle && haystack[0] == '%' && haystack[1] != '|' && haystack[1] != '\0' && haystack[1] != ' ') { ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:585:15: note: used in pointer arithmetic here ++haystack; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:597:19: note: used in pointer arithmetic here ++haystack; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:607:15: note: used in pointer arithmetic here ++haystack; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:580:15: note: used in pointer arithmetic here ++haystack; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:567:17: warning: 'needlePointer' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char *needlePointer = needle; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:584:15: note: used in pointer arithmetic here ++needlePointer; ^~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:617:54: warning: 'pattern' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] bool Token::simpleMatch(const Token *tok, const char pattern[], size_t pattern_len) ~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:622:23: note: used in pointer arithmetic here const char *end = pattern + pattern_len; ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:621:17: warning: 'current' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char *current = pattern; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:635:34: note: used in pointer arithmetic here next = std::strchr(++current, ' '); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:645:41: warning: 'str' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] bool Token::firstWordEquals(const char *str, const char *word) ~~~~~~~~~~~~^~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:653:11: note: used in pointer arithmetic here ++str; ^~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:645:58: warning: 'word' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] bool Token::firstWordEquals(const char *str, const char *word) ~~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:654:11: note: used in pointer arithmetic here ++word; ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:660:47: warning: 'str' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char *Token::chrInFirstWord(const char *str, char c) ~~~~~~~~~~~~^~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:669:11: note: used in pointer arithmetic here ++str; ^~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:678:17: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char *p = pattern; ~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:690:32: note: used in buffer access here if (p[0] == '!' && p[1] == '!' && p[2] != '\0') { ^ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:690:47: note: used in buffer access here if (p[0] == '!' && p[1] == '!' && p[2] != '\0') { ^ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:682:15: note: used in pointer arithmetic here ++p; ^ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:731:13: note: used in pointer arithmetic here p += 2; ^ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:730:33: note: used in buffer access here else if (p[0] == '!' && p[1] == '!' && p[2] != '\0') { ^ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:704:32: note: used in pointer arithmetic here const char *temp = p+1; ^ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:730:48: note: used in buffer access here else if (p[0] == '!' && p[1] == '!' && p[2] != '\0') { ^ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:742:23: note: used in pointer arithmetic here ++p; ^ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:692:23: note: used in pointer arithmetic here ++p; ^ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:704:25: warning: 'temp' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char *temp = p+1; ~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/token.cpp:717:19: note: used in pointer arithmetic here ++temp; ^~~~ 12 warnings generated. [ 48%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_tokenize.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_tokenize.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_tokenize.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_tokenize.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_token.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_token.cpp:8:73: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("(")) || ((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("{")) || ((tok->tokType() == Token::eExtendedOp || tok->tokType() == Token::eLambda) && tok->str() == MatchCompiler::makeConstString("[")) || ((tok->tokType() == Token::eBracket || tok->tokType() == Token::eComparisonOp) && tok->str() == MatchCompiler::makeConstString("<")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_token.cpp:8:73: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("(")) || ((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("{")) || ((tok->tokType() == Token::eExtendedOp || tok->tokType() == Token::eLambda) && tok->str() == MatchCompiler::makeConstString("[")) || ((tok->tokType() == Token::eBracket || tok->tokType() == Token::eComparisonOp) && tok->str() == MatchCompiler::makeConstString("<")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_token.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("operator"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_token.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("operator"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_token.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("operator"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_token.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("operator"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_token.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("operator"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_token.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("operator"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_token.cpp:32:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("operator"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_token.cpp:146:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("namespace")) || (tok->str() == MatchCompiler::makeConstString("class")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("struct")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("union")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/tokenize.cpp:6519:23: warning: 'qualifiers' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const std::string qualifiers[] = {"extern", "static", "const"}; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/tokenize.cpp:6575:38: note: used in buffer access here leftTok->insertToken(qualifiers[i]); ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/tokenize.cpp:6572:46: note: used in buffer access here leftTok->next()->insertToken(qualifiers[i], emptyString, true); ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/tokenize.cpp:6536:43: note: used in buffer access here if (leftTok->str() == qualifiers[j]) { ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/tokenize.cpp:6528:55: note: used in buffer access here if (!tok->next() || tok->next()->str() != qualifiers[i]) ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/tokenize.cpp:6568:43: note: used in buffer access here list.front()->insertToken(qualifiers[i], emptyString, false); ^~~~~~~~~~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("enum"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("enum"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("enum"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("enum"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:8:69: note: in instantiation of function template specialization 'MatchCompiler::operator==<5U>' requested here if (!tok || !((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("enum"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:11:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<6U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("class"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:35:129: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")) || (tok->str() == MatchCompiler::makeConstString("noexcept")) || (tok->str() == MatchCompiler::makeConstString("override")) || (tok->str() == MatchCompiler::makeConstString("final")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("volatile")) || (tok->str() == MatchCompiler::makeConstString("mutable")) || ((tok->tokType() == Token::eBitOp) && tok->str() == MatchCompiler::makeConstString("&")) || ((tok->tokType() == Token::eLogicalOp) && tok->str() == MatchCompiler::makeConstString("&&")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:35:129: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")) || (tok->str() == MatchCompiler::makeConstString("noexcept")) || (tok->str() == MatchCompiler::makeConstString("override")) || (tok->str() == MatchCompiler::makeConstString("final")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("volatile")) || (tok->str() == MatchCompiler::makeConstString("mutable")) || ((tok->tokType() == Token::eBitOp) && tok->str() == MatchCompiler::makeConstString("&")) || ((tok->tokType() == Token::eLogicalOp) && tok->str() == MatchCompiler::makeConstString("&&")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:35:129: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")) || (tok->str() == MatchCompiler::makeConstString("noexcept")) || (tok->str() == MatchCompiler::makeConstString("override")) || (tok->str() == MatchCompiler::makeConstString("final")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("volatile")) || (tok->str() == MatchCompiler::makeConstString("mutable")) || ((tok->tokType() == Token::eBitOp) && tok->str() == MatchCompiler::makeConstString("&")) || ((tok->tokType() == Token::eLogicalOp) && tok->str() == MatchCompiler::makeConstString("&&")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:131:152: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("public")) || (tok->str() == MatchCompiler::makeConstString("private")) || (tok->str() == MatchCompiler::makeConstString("protected")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:143:154: note: in instantiation of function template specialization 'MatchCompiler::operator==<11U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("public:")) || (tok->str() == MatchCompiler::makeConstString("private:")) || (tok->str() == MatchCompiler::makeConstString("protected:")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1357:215: note: in instantiation of function template specialization 'MatchCompiler::operator==<12U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("private")) || (tok->str() == MatchCompiler::makeConstString("protected")) || (tok->str() == MatchCompiler::makeConstString("public")) || (tok->str() == MatchCompiler::makeConstString("__published")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<27U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<26U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<27U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<25U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<26U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<27U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<24U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<25U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<26U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<27U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<24U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<25U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<26U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<27U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<24U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<25U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<26U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<24U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<25U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<24U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<23U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 7 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 8 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 9 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: (skipping 10 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<28U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<29U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<30U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<31U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenize.cpp:1528:30: note: in instantiation of function template specialization 'MatchCompiler::operator==<31U>' requested here if (!tok || !(tok->str() == MatchCompiler::makeConstString("__CPPCHECK_EMBEDDED_SQL_EXEC__"))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 30 warnings generated. [ 48%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_tokenlist.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_tokenlist.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_tokenlist.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_tokenlist.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenlist.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenlist.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenlist.cpp:8:73: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("(")) || ((tok->tokType() == Token::eExtendedOp || tok->tokType() == Token::eLambda) && tok->str() == MatchCompiler::makeConstString("[")) || ((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("{")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenlist.cpp:8:73: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(((tok->tokType() == Token::eExtendedOp) && tok->str() == MatchCompiler::makeConstString("(")) || ((tok->tokType() == Token::eExtendedOp || tok->tokType() == Token::eLambda) && tok->str() == MatchCompiler::makeConstString("[")) || ((tok->tokType() == Token::eBracket) && tok->str() == MatchCompiler::makeConstString("{")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenlist.cpp:29:241: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(tok->isName() || ((tok->tokType() == Token::eArithmeticalOp) && tok->str() == MatchCompiler::makeConstString("*")) || ((tok->tokType() == Token::eBitOp) && tok->str() == MatchCompiler::makeConstString("&")) || (tok->str() == MatchCompiler::makeConstString("::")) || ((tok->tokType() == Token::eBracket || tok->tokType() == Token::eComparisonOp) && tok->str() == MatchCompiler::makeConstString("<")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenlist.cpp:44:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("decltype")) || (tok->str() == MatchCompiler::makeConstString("typeof")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenlist.cpp:44:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("decltype")) || (tok->str() == MatchCompiler::makeConstString("typeof")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenlist.cpp:44:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("decltype")) || (tok->str() == MatchCompiler::makeConstString("typeof")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenlist.cpp:44:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("decltype")) || (tok->str() == MatchCompiler::makeConstString("typeof")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenlist.cpp:44:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("decltype")) || (tok->str() == MatchCompiler::makeConstString("typeof")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenlist.cpp:44:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<9U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("decltype")) || (tok->str() == MatchCompiler::makeConstString("typeof")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_tokenlist.cpp:383:378: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !(((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("else")) || (tok->str() == MatchCompiler::makeConstString("try")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("do")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("const")) || (tok->str() == MatchCompiler::makeConstString("constexpr")) || (tok->str() == MatchCompiler::makeConstString("override")) || ((tok->tokType() == Token::eKeyword) && tok->str() == MatchCompiler::makeConstString("volatile")) || ((tok->tokType() == Token::eBitOp) && tok->str() == MatchCompiler::makeConstString("&")) || ((tok->tokType() == Token::eLogicalOp) && tok->str() == MatchCompiler::makeConstString("&&")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ 34 warnings generated. [ 48%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_utils.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_utils.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_utils.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_utils.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_utils.cpp /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:57:17: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* p = pattern.c_str(); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:96:13: note: used in pointer arithmetic here p++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:67:44: note: used in buffer access here while (*n != '\0' && *n != p[1]) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:58:17: warning: 'n' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* n = name.c_str(); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:88:21: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:115:9: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:68:21: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:86:21: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:78:21: note: used in pointer arithmetic here n++; ^ /builddir/build/BUILD/cppcheck-2.9/lib/utils.cpp:90:21: note: used in pointer arithmetic here n++; ^ 2 warnings generated. [ 50%] Building CXX object lib/CMakeFiles/lib_objs.dir/build/mc_valueflow.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /builddir/build/BUILD/cppcheck-2.9/externals -isystem /builddir/build/BUILD/cppcheck-2.9/externals/picojson -isystem /builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/lib_objs.dir/build/mc_valueflow.cpp.o -MF CMakeFiles/lib_objs.dir/build/mc_valueflow.cpp.o.d -o CMakeFiles/lib_objs.dir/build/mc_valueflow.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1675:25: warning: 'vals' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] MathLib::bigint vals[4]; ~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1687:39: note: used in buffer access here *minvalue = vals[0] & vals[2]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1689:29: note: used in buffer access here *maxvalue = vals[1] & vals[3]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1689:39: note: used in buffer access here *maxvalue = vals[1] & vals[3]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1676:84: note: used in buffer access here bool lhsHasKnownRange = getExpressionRange(expr->astOperand1(), &vals[0], &vals[1]); ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1677:84: note: used in buffer access here bool rhsHasKnownRange = getExpressionRange(expr->astOperand2(), &vals[2], &vals[3]); ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1677:74: note: used in buffer access here bool rhsHasKnownRange = getExpressionRange(expr->astOperand2(), &vals[2], &vals[3]); ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1682:58: note: used in buffer access here *minvalue = lhsHasKnownRange ? vals[0] : vals[2]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1684:48: note: used in buffer access here *maxvalue = lhsHasKnownRange ? vals[1] : vals[3]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1684:58: note: used in buffer access here *maxvalue = lhsHasKnownRange ? vals[1] : vals[3]; ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1695:25: warning: 'vals' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] MathLib::bigint vals[4]; ~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1696:55: note: used in buffer access here if (!getExpressionRange(expr->astOperand2(), &vals[2], &vals[3])) ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1696:65: note: used in buffer access here if (!getExpressionRange(expr->astOperand2(), &vals[2], &vals[3])) ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1698:13: note: used in buffer access here if (vals[2] <= 0) ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1700:84: note: used in buffer access here bool lhsHasKnownRange = getExpressionRange(expr->astOperand1(), &vals[0], &vals[1]); ^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:1709:25: note: used in buffer access here *maxvalue = vals[3] - 1; ^~~~ 20 warnings generated. /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:6168:18: warning: 'deadBranch' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] bool deadBranch[] = {false, false}; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:6189:17: note: used in buffer access here deadBranch[i] = r.terminate == Analyzer::Terminate::Escape; ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:6190:47: note: used in buffer access here if (r.action.isModified() && !deadBranch[i]) ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:6218:34: note: used in buffer access here bool dead_else = deadBranch[1]; ^~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:6170:20: warning: 'startTokens' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] Token* startTokens[] = {nullptr, nullptr}; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:6201:29: note: used in buffer access here startTokens[changeBlock]->link(), ^~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:139:105: note: expanded from macro 'bailout' #define bailout(tokenlist, errorLogger, tok, what) bailout2("valueFlowBailout", tokenlist, errorLogger, tok, what) ^~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:137:105: note: expanded from macro 'bailout2' #define bailout2(type, tokenlist, errorLogger, tok, what) bailoutInternal(type, tokenlist, errorLogger, tok, what, __FILE__, __LINE__, __func__) ^~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:6209:29: note: used in buffer access here startTokens[bailBlock]->link(), ^~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:139:105: note: expanded from macro 'bailout' #define bailout(tokenlist, errorLogger, tok, what) bailout2("valueFlowBailout", tokenlist, errorLogger, tok, what) ^~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:137:105: note: expanded from macro 'bailout2' #define bailout2(type, tokenlist, errorLogger, tok, what) bailoutInternal(type, tokenlist, errorLogger, tok, what, __FILE__, __LINE__, __func__) ^~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:6175:17: note: used in buffer access here startTokens[1] = top->link()->linkAt(1)->tokAt(2); ^~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:6188:46: note: used in buffer access here Analyzer::Result r = forward(startTokens[i], startTokens[i]->link(), cond.vartok, values, tokenlist); ^~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:6181:49: note: used in buffer access here const Token* const startToken = startTokens[i]; ^~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:6188:62: note: used in buffer access here Analyzer::Result r = forward(startTokens[i], startTokens[i]->link(), cond.vartok, values, tokenlist); ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:1: /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:8:112: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(((tok->tokType() == Token::eBracket || tok->tokType() == Token::eComparisonOp) && tok->str() == MatchCompiler::makeConstString("<")) || ((tok->tokType() == Token::eComparisonOp) && tok->str() == MatchCompiler::makeConstString("<=")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<1U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<2U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:8:112: note: in instantiation of function template specialization 'MatchCompiler::operator==<2U>' requested here if (!tok || !(((tok->tokType() == Token::eBracket || tok->tokType() == Token::eComparisonOp) && tok->str() == MatchCompiler::makeConstString("<")) || ((tok->tokType() == Token::eComparisonOp) && tok->str() == MatchCompiler::makeConstString("<=")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<3U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:8:211: note: in instantiation of function template specialization 'MatchCompiler::operator==<3U>' requested here if (!tok || !(((tok->tokType() == Token::eBracket || tok->tokType() == Token::eComparisonOp) && tok->str() == MatchCompiler::makeConstString("<")) || ((tok->tokType() == Token::eComparisonOp) && tok->str() == MatchCompiler::makeConstString("<=")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:68:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("push_back")) || (tok->str() == MatchCompiler::makeConstString("push_front")) || (tok->str() == MatchCompiler::makeConstString("insert")) || (tok->str() == MatchCompiler::makeConstString("push")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:68:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("push_back")) || (tok->str() == MatchCompiler::makeConstString("push_front")) || (tok->str() == MatchCompiler::makeConstString("insert")) || (tok->str() == MatchCompiler::makeConstString("push")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:68:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("push_back")) || (tok->str() == MatchCompiler::makeConstString("push_front")) || (tok->str() == MatchCompiler::makeConstString("insert")) || (tok->str() == MatchCompiler::makeConstString("push")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:68:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("push_back")) || (tok->str() == MatchCompiler::makeConstString("push_front")) || (tok->str() == MatchCompiler::makeConstString("insert")) || (tok->str() == MatchCompiler::makeConstString("push")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:68:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("push_back")) || (tok->str() == MatchCompiler::makeConstString("push_front")) || (tok->str() == MatchCompiler::makeConstString("insert")) || (tok->str() == MatchCompiler::makeConstString("push")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:68:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("push_back")) || (tok->str() == MatchCompiler::makeConstString("push_front")) || (tok->str() == MatchCompiler::makeConstString("insert")) || (tok->str() == MatchCompiler::makeConstString("push")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<4U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<5U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<6U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<7U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<8U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<9U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<10U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:68:31: note: in instantiation of function template specialization 'MatchCompiler::operator==<10U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("push_back")) || (tok->str() == MatchCompiler::makeConstString("push_front")) || (tok->str() == MatchCompiler::makeConstString("insert")) || (tok->str() == MatchCompiler::makeConstString("push")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<11U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:68:94: note: in instantiation of function template specialization 'MatchCompiler::operator==<11U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("push_back")) || (tok->str() == MatchCompiler::makeConstString("push_front")) || (tok->str() == MatchCompiler::makeConstString("insert")) || (tok->str() == MatchCompiler::makeConstString("push")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:118:95: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<12U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<13U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:118:95: note: in instantiation of function template specialization 'MatchCompiler::operator==<13U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:118:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:118:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:118:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<14U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<15U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<16U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<17U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:118:161: note: in instantiation of function template specialization 'MatchCompiler::operator==<17U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("const_cast")) || (tok->str() == MatchCompiler::makeConstString("dynamic_cast")) || (tok->str() == MatchCompiler::makeConstString("reinterpret_cast")) || (tok->str() == MatchCompiler::makeConstString("static_cast")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:770:221: note: in instantiation of function template specialization 'MatchCompiler::operator==<22U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("make_tuple")) || (tok->str() == MatchCompiler::makeConstString("tuple_cat")) || (tok->str() == MatchCompiler::makeConstString("make_pair")) || (tok->str() == MatchCompiler::makeConstString("make_reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("next")) || (tok->str() == MatchCompiler::makeConstString("prev")) || (tok->str() == MatchCompiler::makeConstString("move")) || (tok->str() == MatchCompiler::makeConstString("bind")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:770:221: note: in instantiation of function template specialization 'MatchCompiler::operator==<22U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("make_tuple")) || (tok->str() == MatchCompiler::makeConstString("tuple_cat")) || (tok->str() == MatchCompiler::makeConstString("make_pair")) || (tok->str() == MatchCompiler::makeConstString("make_reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("next")) || (tok->str() == MatchCompiler::makeConstString("prev")) || (tok->str() == MatchCompiler::makeConstString("move")) || (tok->str() == MatchCompiler::makeConstString("bind")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:770:221: note: in instantiation of function template specialization 'MatchCompiler::operator==<22U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("make_tuple")) || (tok->str() == MatchCompiler::makeConstString("tuple_cat")) || (tok->str() == MatchCompiler::makeConstString("make_pair")) || (tok->str() == MatchCompiler::makeConstString("make_reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("next")) || (tok->str() == MatchCompiler::makeConstString("prev")) || (tok->str() == MatchCompiler::makeConstString("move")) || (tok->str() == MatchCompiler::makeConstString("bind")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:770:221: note: in instantiation of function template specialization 'MatchCompiler::operator==<22U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("make_tuple")) || (tok->str() == MatchCompiler::makeConstString("tuple_cat")) || (tok->str() == MatchCompiler::makeConstString("make_pair")) || (tok->str() == MatchCompiler::makeConstString("make_reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("next")) || (tok->str() == MatchCompiler::makeConstString("prev")) || (tok->str() == MatchCompiler::makeConstString("move")) || (tok->str() == MatchCompiler::makeConstString("bind")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:35: warning: 's1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<18U>' requested here return (*s1 == *s2) && equalN(s1+1, s2+1); ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<19U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<20U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:32: note: in instantiation of function template specialization 'MatchCompiler::equalN<21U>' requested here /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:57:16: note: in instantiation of function template specialization 'MatchCompiler::equalN<22U>' requested here return equalN(s1.c_str(), s2); ^ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/lib/build/mc_valueflow.cpp:770:221: note: in instantiation of function template specialization 'MatchCompiler::operator==<22U>' requested here if (!tok || !((tok->str() == MatchCompiler::makeConstString("make_tuple")) || (tok->str() == MatchCompiler::makeConstString("tuple_cat")) || (tok->str() == MatchCompiler::makeConstString("make_pair")) || (tok->str() == MatchCompiler::makeConstString("make_reverse_iterator")) || (tok->str() == MatchCompiler::makeConstString("next")) || (tok->str() == MatchCompiler::makeConstString("prev")) || (tok->str() == MatchCompiler::makeConstString("move")) || (tok->str() == MatchCompiler::makeConstString("bind")))) ^ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:44: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:43:52: warning: 's2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline bool equalN(const char s1[], const char s2[]) ~~~~~~~~~~~^~~~ /builddir/build/BUILD/cppcheck-2.9/lib/matchcompiler.h:45:50: note: used in pointer arithmetic here return (*s1 == *s2) && equalN(s1+1, s2+1); ^~ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:2166:16: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] return x+1; ^ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:2242:38: note: in instantiation of member function 'SingleRange::end' requested here for (const ValueFlow::Value &val : values) { ^ /builddir/build/BUILD/cppcheck-2.9/lib/valueflow.cpp:2961:21: note: in instantiation of function template specialization 'isAliasOf>' requested here if (isAliasOf(var, tok, varid, MakeSingleRange(value), &inconclusive)) ^ 34 warnings generated. 63 warnings generated. 49 warnings generated. gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 50%] Built target lib_objs /usr/bin/gmake -f cli/CMakeFiles/cppcheck.dir/build.make cli/CMakeFiles/cppcheck.dir/depend /usr/bin/gmake -f test/CMakeFiles/testrunner.dir/build.make test/CMakeFiles/testrunner.dir/depend /usr/bin/gmake -f gui/CMakeFiles/cppcheck-gui.dir/build.make gui/CMakeFiles/cppcheck-gui.dir/depend /usr/bin/gmake -f gui/test/benchmark/simple/CMakeFiles/benchmark-simple.dir/build.make gui/test/benchmark/simple/CMakeFiles/benchmark-simple.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/cli /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli/CMakeFiles/cppcheck.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/test /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f cli/CMakeFiles/cppcheck.dir/build.make cli/CMakeFiles/cppcheck.dir/build [ 50%] Generating moc_benchmarksimple.cpp gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/benchmark/simple && /usr/lib64/qt5/bin/moc @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/benchmark/simple/moc_benchmarksimple.cpp_parameters /usr/bin/gmake -f test/CMakeFiles/testrunner.dir/build.make test/CMakeFiles/testrunner.dir/build [ 51%] Generating ui_statsdialog.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/ui_statsdialog.h /builddir/build/BUILD/cppcheck-2.9/gui/statsdialog.ui gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/gui/test/benchmark/simple /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/benchmark/simple /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/benchmark/simple/CMakeFiles/benchmark-simple.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 51%] Building CXX object cli/CMakeFiles/cppcheck.dir/main.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -MD -MT cli/CMakeFiles/cppcheck.dir/main.cpp.o -MF CMakeFiles/cppcheck.dir/main.cpp.o.d -o CMakeFiles/cppcheck.dir/main.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/cli/main.cpp gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f gui/test/benchmark/simple/CMakeFiles/benchmark-simple.dir/build.make gui/test/benchmark/simple/CMakeFiles/benchmark-simple.dir/build [ 52%] Building CXX object test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -fpch-instantiate-templates -Xclang -emit-pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -x c++-header -MD -MT test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -MF CMakeFiles/testrunner.dir/cmake_pch.hxx.pch.d -o CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.cxx gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 52%] Generating .lupdate/cppcheck_de.ts.stamp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lupdate @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck_de.ts_lst_file -ts /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_de.ts [ 52%] Building CXX object gui/test/benchmark/simple/CMakeFiles/benchmark-simple.dir/moc_benchmarksimple.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/benchmark/simple && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/benchmark/simple\" -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/benchmark/simple -I/builddir/build/BUILD/cppcheck-2.9/gui/test/benchmark/simple -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -Wno-extra-semi-stmt -MD -MT gui/test/benchmark/simple/CMakeFiles/benchmark-simple.dir/moc_benchmarksimple.cpp.o -MF CMakeFiles/benchmark-simple.dir/moc_benchmarksimple.cpp.o.d -o CMakeFiles/benchmark-simple.dir/moc_benchmarksimple.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/benchmark/simple/moc_benchmarksimple.cpp Scanning directory '/builddir/build/BUILD/cppcheck-2.9/gui'... Updating '../../gui/cppcheck_de.ts'... Found 504 source text(s) (0 new and 504 already existing) cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/cmake -E touch /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/.lupdate/cppcheck_de.ts.stamp [ 53%] Generating .lupdate/cppcheck_es.ts.stamp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lupdate @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck_es.ts_lst_file -ts /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_es.ts Scanning directory '/builddir/build/BUILD/cppcheck-2.9/gui'... Updating '../../gui/cppcheck_es.ts'... Found 504 source text(s) (0 new and 504 already existing) cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/cmake -E touch /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/.lupdate/cppcheck_es.ts.stamp [ 53%] Generating .lupdate/cppcheck_fi.ts.stamp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lupdate @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck_fi.ts_lst_file -ts /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_fi.ts Scanning directory '/builddir/build/BUILD/cppcheck-2.9/gui'... Updating '../../gui/cppcheck_fi.ts'... Found 504 source text(s) (0 new and 504 already existing) cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/cmake -E touch /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/.lupdate/cppcheck_fi.ts.stamp [ 53%] Generating .lupdate/cppcheck_fr.ts.stamp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lupdate @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck_fr.ts_lst_file -ts /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_fr.ts Scanning directory '/builddir/build/BUILD/cppcheck-2.9/gui'... Updating '../../gui/cppcheck_fr.ts'... Found 504 source text(s) (0 new and 504 already existing) cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/cmake -E touch /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/.lupdate/cppcheck_fr.ts.stamp [ 53%] Generating .lupdate/cppcheck_it.ts.stamp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lupdate @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck_it.ts_lst_file -ts /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_it.ts Scanning directory '/builddir/build/BUILD/cppcheck-2.9/gui'... Updating '../../gui/cppcheck_it.ts'... Found 504 source text(s) (0 new and 504 already existing) cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/cmake -E touch /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/.lupdate/cppcheck_it.ts.stamp [ 54%] Generating .lupdate/cppcheck_ja.ts.stamp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lupdate @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck_ja.ts_lst_file -ts /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_ja.ts Scanning directory '/builddir/build/BUILD/cppcheck-2.9/gui'... Updating '../../gui/cppcheck_ja.ts'... Found 504 source text(s) (0 new and 504 already existing) cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/cmake -E touch /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/.lupdate/cppcheck_ja.ts.stamp [ 54%] Generating .lupdate/cppcheck_ko.ts.stamp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lupdate @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck_ko.ts_lst_file -ts /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_ko.ts Scanning directory '/builddir/build/BUILD/cppcheck-2.9/gui'... Updating '../../gui/cppcheck_ko.ts'... Found 504 source text(s) (0 new and 504 already existing) cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/cmake -E touch /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/.lupdate/cppcheck_ko.ts.stamp [ 54%] Generating .lupdate/cppcheck_nl.ts.stamp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lupdate @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck_nl.ts_lst_file -ts /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_nl.ts Scanning directory '/builddir/build/BUILD/cppcheck-2.9/gui'... Updating '../../gui/cppcheck_nl.ts'... Found 504 source text(s) (0 new and 504 already existing) cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/cmake -E touch /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/.lupdate/cppcheck_nl.ts.stamp [ 54%] Generating .lupdate/cppcheck_ru.ts.stamp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lupdate @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck_ru.ts_lst_file -ts /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_ru.ts [ 54%] Linking CXX executable ../bin/cppcheck cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/cli && /usr/bin/cmake -E cmake_link_script CMakeFiles/cppcheck.dir/link.txt --verbose=1 Scanning directory '/builddir/build/BUILD/cppcheck-2.9/gui'... Updating '../../gui/cppcheck_ru.ts'... Found 504 source text(s) (0 new and 504 already existing) cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/cmake -E touch /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/.lupdate/cppcheck_ru.ts.stamp /usr/bin/clang++ -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -rdynamic CMakeFiles/cppcheck.dir/main.cpp.o CMakeFiles/cli_objs.dir/cmdlineparser.cpp.o CMakeFiles/cli_objs.dir/cppcheckexecutor.cpp.o CMakeFiles/cli_objs.dir/cppcheckexecutorseh.cpp.o CMakeFiles/cli_objs.dir/cppcheckexecutorsig.cpp.o CMakeFiles/cli_objs.dir/executor.cpp.o CMakeFiles/cli_objs.dir/filelister.cpp.o CMakeFiles/cli_objs.dir/processexecutor.cpp.o CMakeFiles/cli_objs.dir/stacktrace.cpp.o CMakeFiles/cli_objs.dir/threadexecutor.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_analyzerinfo.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_astutils.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_check.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_check64bit.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkassert.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkautovariables.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkbool.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkboost.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkbufferoverrun.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkclass.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkcondition.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkexceptionsafety.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkfunctions.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkinternal.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkio.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkleakautovar.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkmemoryleak.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checknullpointer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkother.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkpostfixoperator.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checksizeof.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkstl.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkstring.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checktype.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkuninitvar.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkunusedfunctions.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkunusedvar.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkvaarg.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_clangimport.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_color.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_cppcheck.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_ctu.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_errorlogger.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_errortypes.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_forwardanalyzer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_importproject.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_infer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_library.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_mathlib.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_path.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_pathanalysis.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_pathmatch.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_platform.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_preprocessor.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_programmemory.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_reverseanalyzer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_settings.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_summaries.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_suppressions.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_symboldatabase.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_templatesimplifier.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_timer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_token.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_tokenize.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_tokenlist.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_utils.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_valueflow.cpp.o ../externals/simplecpp/CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o -o ../bin/cppcheck -lpcre /usr/lib64/libtinyxml2.so.9.0.0 [ 55%] Generating .lupdate/cppcheck_sr.ts.stamp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lupdate @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck_sr.ts_lst_file -ts /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_sr.ts Scanning directory '/builddir/build/BUILD/cppcheck-2.9/gui'... Updating '../../gui/cppcheck_sr.ts'... Found 504 source text(s) (0 new and 504 already existing) cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/cmake -E touch /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/.lupdate/cppcheck_sr.ts.stamp [ 55%] Generating .lupdate/cppcheck_sv.ts.stamp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lupdate @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck_sv.ts_lst_file -ts /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_sv.ts Scanning directory '/builddir/build/BUILD/cppcheck-2.9/gui'... Updating '../../gui/cppcheck_sv.ts'... Found 504 source text(s) (0 new and 504 already existing) cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/cmake -E touch /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/.lupdate/cppcheck_sv.ts.stamp [ 55%] Generating .lupdate/cppcheck_zh_CN.ts.stamp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lupdate @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck_zh_CN.ts_lst_file -ts /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_zh_CN.ts Scanning directory '/builddir/build/BUILD/cppcheck-2.9/gui'... Updating '../../gui/cppcheck_zh_CN.ts'... Found 504 source text(s) (0 new and 504 already existing) cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/cmake -E touch /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/.lupdate/cppcheck_zh_CN.ts.stamp [ 55%] Generating cppcheck_de.qm cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_de.ts -qm /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_de.qm Updating '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_de.qm'... Generated 439 translation(s) (437 finished and 2 unfinished) Ignored 65 untranslated source text(s) [ 55%] Generating cppcheck_es.qm cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_es.ts -qm /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_es.qm Updating '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_es.qm'... Generated 265 translation(s) (242 finished and 23 unfinished) Ignored 239 untranslated source text(s) [ 56%] Generating cppcheck_fi.qm cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_fi.ts -qm /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_fi.qm Updating '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_fi.qm'... Generated 75 translation(s) (69 finished and 6 unfinished) Ignored 429 untranslated source text(s) [ 56%] Generating cppcheck_fr.qm cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_fr.ts -qm /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_fr.qm Updating '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_fr.qm'... Generated 169 translation(s) (154 finished and 15 unfinished) Ignored 335 untranslated source text(s) [ 56%] Generating cppcheck_it.qm cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_it.ts -qm /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_it.qm Updating '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_it.qm'... Generated 222 translation(s) (209 finished and 13 unfinished) Ignored 282 untranslated source text(s) [ 58%] Generating cppcheck_ja.qm cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_ja.ts -qm /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_ja.qm Updating '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_ja.qm'... Generated 498 translation(s) (498 finished and 0 unfinished) Ignored 6 untranslated source text(s) [ 58%] Generating cppcheck_ko.qm cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_ko.ts -qm /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_ko.qm Updating '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_ko.qm'... Generated 212 translation(s) (202 finished and 10 unfinished) Ignored 292 untranslated source text(s) [ 58%] Generating cppcheck_nl.qm cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_nl.ts -qm /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_nl.qm Updating '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_nl.qm'... Generated 226 translation(s) (217 finished and 9 unfinished) Ignored 278 untranslated source text(s) [ 58%] Generating cppcheck_ru.qm cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_ru.ts -qm /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_ru.qm Updating '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_ru.qm'... Generated 399 translation(s) (394 finished and 5 unfinished) Ignored 105 untranslated source text(s) [ 59%] Generating cppcheck_sr.qm cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_sr.ts -qm /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_sr.qm Updating '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_sr.qm'... Generated 88 translation(s) (17 finished and 71 unfinished) Ignored 416 untranslated source text(s) [ 59%] Generating cppcheck_sv.qm cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_sv.ts -qm /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_sv.qm Updating '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_sv.qm'... Generated 383 translation(s) (373 finished and 10 unfinished) Ignored 121 untranslated source text(s) [ 59%] Generating cppcheck_zh_CN.qm cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/lrelease /builddir/build/BUILD/cppcheck-2.9/gui/cppcheck_zh_CN.ts -qm /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_zh_CN.qm Updating '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck_zh_CN.qm'... Generated 496 translation(s) (496 finished and 0 unfinished) Ignored 8 untranslated source text(s) [ 59%] Generating qrc_gui.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/rcc --name gui --output /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/qrc_gui.cpp /builddir/build/BUILD/cppcheck-2.9/gui/gui.qrc [ 59%] Generating ui_about.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/ui_about.h /builddir/build/BUILD/cppcheck-2.9/gui/about.ui [ 60%] Generating ui_applicationdialog.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/ui_applicationdialog.h /builddir/build/BUILD/cppcheck-2.9/gui/applicationdialog.ui [ 60%] Building CXX object gui/test/benchmark/simple/CMakeFiles/benchmark-simple.dir/benchmarksimple.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/benchmark/simple && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/benchmark/simple\" -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/benchmark/simple -I/builddir/build/BUILD/cppcheck-2.9/gui/test/benchmark/simple -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/benchmark/simple/CMakeFiles/benchmark-simple.dir/benchmarksimple.cpp.o -MF CMakeFiles/benchmark-simple.dir/benchmarksimple.cpp.o.d -o CMakeFiles/benchmark-simple.dir/benchmarksimple.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/test/benchmark/simple/benchmarksimple.cpp [ 60%] Generating ui_fileview.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/ui_fileview.h /builddir/build/BUILD/cppcheck-2.9/gui/fileview.ui [ 60%] Generating ui_helpdialog.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/ui_helpdialog.h /builddir/build/BUILD/cppcheck-2.9/gui/helpdialog.ui [ 60%] Generating ui_libraryaddfunctiondialog.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/ui_libraryaddfunctiondialog.h /builddir/build/BUILD/cppcheck-2.9/gui/libraryaddfunctiondialog.ui [ 61%] Generating ui_librarydialog.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/ui_librarydialog.h /builddir/build/BUILD/cppcheck-2.9/gui/librarydialog.ui [ 61%] Generating ui_libraryeditargdialog.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/ui_libraryeditargdialog.h /builddir/build/BUILD/cppcheck-2.9/gui/libraryeditargdialog.ui [ 61%] Generating ui_mainwindow.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/ui_mainwindow.h /builddir/build/BUILD/cppcheck-2.9/gui/mainwindow.ui [ 61%] Generating ui_newsuppressiondialog.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/ui_newsuppressiondialog.h /builddir/build/BUILD/cppcheck-2.9/gui/newsuppressiondialog.ui [ 62%] Generating ui_projectfile.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/ui_projectfile.h /builddir/build/BUILD/cppcheck-2.9/gui/projectfile.ui [ 62%] Generating ui_resultsview.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/ui_resultsview.h /builddir/build/BUILD/cppcheck-2.9/gui/resultsview.ui [ 62%] Generating ui_scratchpad.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/ui_scratchpad.h /builddir/build/BUILD/cppcheck-2.9/gui/scratchpad.ui [ 62%] Building CXX object test/CMakeFiles/testrunner.dir/options.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/options.cpp.o -MF CMakeFiles/testrunner.dir/options.cpp.o.d -o CMakeFiles/testrunner.dir/options.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/options.cpp [ 62%] Generating ui_settings.h cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/lib64/qt5/bin/uic -o /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/ui_settings.h /builddir/build/BUILD/cppcheck-2.9/gui/settings.ui cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/gui /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/CMakeFiles/cppcheck-gui.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f gui/CMakeFiles/cppcheck-gui.dir/build.make gui/CMakeFiles/cppcheck-gui.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 63%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/cppcheck-gui_autogen/mocs_compilation.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/cppcheck-gui_autogen/mocs_compilation.cpp.o -MF CMakeFiles/cppcheck-gui.dir/cppcheck-gui_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/cppcheck-gui_autogen/mocs_compilation.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/mocs_compilation.cpp [ 63%] Building CXX object test/CMakeFiles/testrunner.dir/test64bit.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/test64bit.cpp.o -MF CMakeFiles/testrunner.dir/test64bit.cpp.o.d -o CMakeFiles/testrunner.dir/test64bit.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/test64bit.cpp [ 63%] Building CXX object test/CMakeFiles/testrunner.dir/testanalyzerinformation.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testanalyzerinformation.cpp.o -MF CMakeFiles/testrunner.dir/testanalyzerinformation.cpp.o.d -o CMakeFiles/testrunner.dir/testanalyzerinformation.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testanalyzerinformation.cpp [ 65%] Building CXX object test/CMakeFiles/testrunner.dir/testassert.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testassert.cpp.o -MF CMakeFiles/testrunner.dir/testassert.cpp.o.d -o CMakeFiles/testrunner.dir/testassert.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testassert.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/mocs_compilation.cpp:5: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_checkthread.cpp:70:89: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void CheckThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_checkthread.cpp:77:71: note: used in buffer access here case 1: _t->fileChecked((*reinterpret_cast< const QString(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_checkthread.cpp:84:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CheckThread::done)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_checkthread.cpp:91:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CheckThread::fileChecked)) { ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/mocs_compilation.cpp:6: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditor.cpp:145:88: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void CodeEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditor.cpp:151:75: note: used in buffer access here case 0: _t->updateLineNumberAreaWidth((*reinterpret_cast< int(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditor.cpp:153:78: note: used in buffer access here case 2: _t->updateLineNumberArea((*reinterpret_cast< const QRect(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditor.cpp:153:114: note: used in buffer access here case 2: _t->updateLineNumberArea((*reinterpret_cast< const QRect(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/mocs_compilation.cpp:7: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstylecontrols.cpp:78:95: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void SelectColorButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstylecontrols.cpp:93:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SelectColorButton::colorChanged)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstylecontrols.cpp:84:71: note: used in buffer access here case 0: _t->colorChanged((*reinterpret_cast< const QColor(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstylecontrols.cpp:204:99: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void SelectFontWeightCombo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstylecontrols.cpp:212:62: note: used in buffer access here case 2: _t->changeWeight((*reinterpret_cast< int(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstylecontrols.cpp:219:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SelectFontWeightCombo::weightChanged)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstylecontrols.cpp:210:79: note: used in buffer access here case 0: _t->weightChanged((*reinterpret_cast< const QFont::Weight(*)>(_a[1]))); break; ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/mocs_compilation.cpp:8: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:133:93: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void StyleEditDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:152:85: note: used in buffer access here case 13: _t->weightChangedQuote((*reinterpret_cast< const QFont::Weight(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:150:85: note: used in buffer access here case 11: _t->weightChangedClass((*reinterpret_cast< const QFont::Weight(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:151:79: note: used in buffer access here case 12: _t->colorChangedQuoteFG((*reinterpret_cast< const QColor(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:155:80: note: used in buffer access here case 16: _t->colorChangedSymbolFG((*reinterpret_cast< const QColor(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:146:80: note: used in buffer access here case 7: _t->colorChangedLineNumBG((*reinterpret_cast< const QColor(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:154:87: note: used in buffer access here case 15: _t->weightChangedComment((*reinterpret_cast< const QFont::Weight(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:147:80: note: used in buffer access here case 8: _t->colorChangedKeywordFG((*reinterpret_cast< const QColor(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:153:81: note: used in buffer access here case 14: _t->colorChangedCommentFG((*reinterpret_cast< const QColor(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:144:82: note: used in buffer access here case 5: _t->colorChangedHighlightBG((*reinterpret_cast< const QColor(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:156:80: note: used in buffer access here case 17: _t->colorChangedSymbolBG((*reinterpret_cast< const QColor(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:157:86: note: used in buffer access here case 18: _t->weightChangedSymbol((*reinterpret_cast< const QFont::Weight(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:148:86: note: used in buffer access here case 9: _t->weightChangedKeyword((*reinterpret_cast< const QFont::Weight(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:145:80: note: used in buffer access here case 6: _t->colorChangedLineNumFG((*reinterpret_cast< const QColor(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:143:79: note: used in buffer access here case 4: _t->colorChangedWidgetBG((*reinterpret_cast< const QColor(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:142:79: note: used in buffer access here case 3: _t->colorChangedWidgetFG((*reinterpret_cast< const QColor(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_codeeditstyledialog.cpp:149:79: note: used in buffer access here case 10: _t->colorChangedClassFG((*reinterpret_cast< const QColor(*)>(_a[1]))); break; ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/mocs_compilation.cpp:12: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_librarydialog.cpp:98:91: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void LibraryDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_librarydialog.cpp:111:75: note: used in buffer access here case 7: _t->filterFunctions((*reinterpret_cast< const QString(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_librarydialog.cpp:110:79: note: used in buffer access here case 6: _t->editFunctionName((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_librarydialog.cpp:113:64: note: used in buffer access here case 9: _t->sortFunctions((*reinterpret_cast< bool(*)>(_a[1]))); break; ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/mocs_compilation.cpp:13: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_libraryeditargdialog.cpp:67:98: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void LibraryEditArgDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_libraryeditargdialog.cpp:73:64: note: used in buffer access here case 0: _t->minsizeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; ^~ [ 65%] Building CXX object test/CMakeFiles/testrunner.dir/testastutils.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testastutils.cpp.o -MF CMakeFiles/testrunner.dir/testastutils.cpp.o.d -o CMakeFiles/testrunner.dir/testastutils.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testastutils.cpp In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/mocs_compilation.cpp:14: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_mainwindow.cpp:210:88: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_mainwindow.cpp:220:89: note: used in buffer access here case 4: _t->performSelectedFilesCheck((*reinterpret_cast< const QStringList(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_mainwindow.cpp:229:67: note: used in buffer access here case 13: _t->showInformation((*reinterpret_cast< bool(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_mainwindow.cpp:224:60: note: used in buffer access here case 8: _t->showStyle((*reinterpret_cast< bool(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_mainwindow.cpp:257:70: note: used in buffer access here case 41: _t->suppressIds((*reinterpret_cast< QStringList(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_mainwindow.cpp:228:67: note: used in buffer access here case 12: _t->showPerformance((*reinterpret_cast< bool(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_mainwindow.cpp:227:67: note: used in buffer access here case 11: _t->showPortability((*reinterpret_cast< bool(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_mainwindow.cpp:225:61: note: used in buffer access here case 9: _t->showErrors((*reinterpret_cast< bool(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_mainwindow.cpp:226:64: note: used in buffer access here case 10: _t->showWarnings((*reinterpret_cast< bool(*)>(_a[1]))); break; ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/mocs_compilation.cpp:18: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_projectfiledialog.cpp:138:95: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void ProjectFileDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_projectfiledialog.cpp:162:80: note: used in buffer access here case 18: _t->editSuppression((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/mocs_compilation.cpp:19: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:140:89: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void ResultsTree::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:190:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResultsTree::suppressIds)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:151:70: note: used in buffer access here case 5: _t->showCppcheckResults((*reinterpret_cast< bool(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:148:84: note: used in buffer access here case 2: _t->treeSelectionChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:150:77: note: used in buffer access here case 4: _t->showResults((*reinterpret_cast< ShowTypes::ShowType(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:150:114: note: used in buffer access here case 4: _t->showResults((*reinterpret_cast< ShowTypes::ShowType(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:183:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResultsTree::treeSelectionChanged)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:147:71: note: used in buffer access here case 1: _t->checkSelected((*reinterpret_cast< QStringList(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:146:64: note: used in buffer access here case 0: _t->resultsHidden((*reinterpret_cast< bool(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:152:67: note: used in buffer access here case 6: _t->showClangResults((*reinterpret_cast< bool(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:162:129: note: used in buffer access here case 16: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:169:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResultsTree::resultsHidden)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:176:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResultsTree::checkSelected)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:149:69: note: used in buffer access here case 3: _t->suppressIds((*reinterpret_cast< QStringList(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:154:57: note: used in buffer access here case 8: _t->context((*reinterpret_cast< int(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:162:79: note: used in buffer access here case 16: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultstree.cpp:153:85: note: used in buffer access here case 7: _t->quickStartApplication((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/mocs_compilation.cpp:20: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:165:89: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void ResultsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:176:70: note: used in buffer access here case 5: _t->showCppcheckResults((*reinterpret_cast< bool(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:263:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResultsView::showHiddenResults)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:172:64: note: used in buffer access here case 1: _t->resultsHidden((*reinterpret_cast< bool(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:221:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResultsView::suppressIds)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:182:68: note: used in buffer access here case 11: _t->error((*reinterpret_cast< const ErrorItem(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:189:73: note: used in buffer access here case 18: _t->debugError((*reinterpret_cast< const ErrorItem(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:183:74: note: used in buffer access here case 12: _t->filterResults((*reinterpret_cast< const QString(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:184:78: note: used in buffer access here case 13: _t->updateDetails((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:228:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResultsView::showResults)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:235:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResultsView::showCppcheckResults)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:174:69: note: used in buffer access here case 3: _t->suppressIds((*reinterpret_cast< QStringList(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:207:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResultsView::resultsHidden)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:175:77: note: used in buffer access here case 4: _t->showResults((*reinterpret_cast< ShowTypes::ShowType(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:173:71: note: used in buffer access here case 2: _t->checkSelected((*reinterpret_cast< QStringList(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:188:64: note: used in buffer access here case 17: _t->log((*reinterpret_cast< const QString(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:177:67: note: used in buffer access here case 6: _t->showClangResults((*reinterpret_cast< bool(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:200:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResultsView::gotResults)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:186:62: note: used in buffer access here case 15: _t->print((*reinterpret_cast< QPrinter*(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:181:105: note: used in buffer access here case 10: _t->progress((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:242:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResultsView::showClangResults)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:249:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResultsView::collapseAllResults)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:175:114: note: used in buffer access here case 4: _t->showResults((*reinterpret_cast< ShowTypes::ShowType(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:256:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResultsView::expandAllResults)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:181:59: note: used in buffer access here case 10: _t->progress((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:193:98: note: used in buffer access here case 22: _t->on_mListLog_customContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_resultsview.cpp:214:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResultsView::checkSelected)) { ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/mocs_compilation.cpp:24: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadhandler.cpp:86:91: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void ThreadHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadhandler.cpp:117:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ThreadHandler::debugError)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadhandler.cpp:94:72: note: used in buffer access here case 2: _t->debugError((*reinterpret_cast< const ErrorItem(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadhandler.cpp:110:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ThreadHandler::log)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadhandler.cpp:103:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ThreadHandler::done)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadhandler.cpp:93:63: note: used in buffer access here case 1: _t->log((*reinterpret_cast< const QString(*)>(_a[1]))); break; ^~ In file included from /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/mocs_compilation.cpp:25: /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadresult.cpp:90:90: warning: '_a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void ThreadResult::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) ~~~~~~~^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadresult.cpp:121:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ThreadResult::log)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadresult.cpp:114:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ThreadResult::error)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadresult.cpp:107:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ThreadResult::progress)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadresult.cpp:128:41: note: used in buffer access here if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ThreadResult::debugError)) { ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadresult.cpp:96:104: note: used in buffer access here case 0: _t->progress((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadresult.cpp:96:58: note: used in buffer access here case 0: _t->progress((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadresult.cpp:97:67: note: used in buffer access here case 1: _t->error((*reinterpret_cast< const ErrorItem(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadresult.cpp:99:72: note: used in buffer access here case 3: _t->debugError((*reinterpret_cast< const ErrorItem(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadresult.cpp:98:63: note: used in buffer access here case 2: _t->log((*reinterpret_cast< const QString(*)>(_a[1]))); break; ^~ /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/EWIEGA46WW/moc_threadresult.cpp:100:71: note: used in buffer access here case 4: _t->fileChecked((*reinterpret_cast< const QString(*)>(_a[1]))); break; ^~ [ 66%] Linking CXX executable ../../../../bin/benchmark-simple cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/benchmark/simple && /usr/bin/cmake -E cmake_link_script CMakeFiles/benchmark-simple.dir/link.txt --verbose=1 /usr/bin/clang++ -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -rdynamic "CMakeFiles/benchmark-simple.dir/moc_benchmarksimple.cpp.o" "CMakeFiles/benchmark-simple.dir/benchmarksimple.cpp.o" ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_analyzerinfo.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_astutils.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_check.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_check64bit.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkassert.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkautovariables.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkbool.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkboost.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkbufferoverrun.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkclass.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkcondition.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkexceptionsafety.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkfunctions.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkinternal.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkio.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkleakautovar.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkmemoryleak.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checknullpointer.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkother.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkpostfixoperator.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checksizeof.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkstl.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkstring.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checktype.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkuninitvar.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkunusedfunctions.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkunusedvar.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkvaarg.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_clangimport.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_color.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_cppcheck.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_ctu.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_errorlogger.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_errortypes.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_forwardanalyzer.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_importproject.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_infer.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_library.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_mathlib.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_path.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_pathanalysis.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_pathmatch.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_platform.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_preprocessor.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_programmemory.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_reverseanalyzer.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_settings.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_summaries.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_suppressions.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_symboldatabase.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_templatesimplifier.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_timer.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_token.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_tokenize.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_tokenlist.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_utils.cpp.o ../../../../lib/CMakeFiles/lib_objs.dir/build/mc_valueflow.cpp.o ../../../../externals/simplecpp/CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o -o ../../../../bin/benchmark-simple -lpcre /usr/lib64/libtinyxml2.so.9.0.0 /usr/lib64/libQt5Test.so.5.15.9 /usr/lib64/libQt5Core.so.5.15.9 13 warnings generated. [ 66%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/qrc_gui.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/qrc_gui.cpp.o -MF CMakeFiles/cppcheck-gui.dir/qrc_gui.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/qrc_gui.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/qrc_gui.cpp [ 66%] Building CXX object test/CMakeFiles/testrunner.dir/testautovariables.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testautovariables.cpp.o -MF CMakeFiles/testrunner.dir/testautovariables.cpp.o.d -o CMakeFiles/testrunner.dir/testautovariables.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testautovariables.cpp [ 66%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/aboutdialog.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/aboutdialog.cpp.o -MF CMakeFiles/cppcheck-gui.dir/aboutdialog.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/aboutdialog.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/aboutdialog.cpp [ 66%] Building CXX object test/CMakeFiles/testrunner.dir/testbool.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testbool.cpp.o -MF CMakeFiles/testrunner.dir/testbool.cpp.o.d -o CMakeFiles/testrunner.dir/testbool.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testbool.cpp [ 66%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/application.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/application.cpp.o -MF CMakeFiles/cppcheck-gui.dir/application.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/application.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/application.cpp [ 67%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/applicationdialog.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/applicationdialog.cpp.o -MF CMakeFiles/cppcheck-gui.dir/applicationdialog.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/applicationdialog.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/applicationdialog.cpp [ 68%] Building CXX object test/CMakeFiles/testrunner.dir/testboost.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testboost.cpp.o -MF CMakeFiles/testrunner.dir/testboost.cpp.o.d -o CMakeFiles/testrunner.dir/testboost.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testboost.cpp [ 68%] Building CXX object test/CMakeFiles/testrunner.dir/testbufferoverrun.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testbufferoverrun.cpp.o -MF CMakeFiles/testrunner.dir/testbufferoverrun.cpp.o.d -o CMakeFiles/testrunner.dir/testbufferoverrun.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testbufferoverrun.cpp [ 68%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/applicationlist.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/applicationlist.cpp.o -MF CMakeFiles/cppcheck-gui.dir/applicationlist.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/applicationlist.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/applicationlist.cpp [ 68%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/checkstatistics.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/checkstatistics.cpp.o -MF CMakeFiles/cppcheck-gui.dir/checkstatistics.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/checkstatistics.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/checkstatistics.cpp [ 68%] Building CXX object test/CMakeFiles/testrunner.dir/testcharvar.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testcharvar.cpp.o -MF CMakeFiles/testrunner.dir/testcharvar.cpp.o.d -o CMakeFiles/testrunner.dir/testcharvar.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testcharvar.cpp [ 68%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/checkthread.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/checkthread.cpp.o -MF CMakeFiles/cppcheck-gui.dir/checkthread.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/checkthread.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/checkthread.cpp [ 68%] Building CXX object test/CMakeFiles/testrunner.dir/testclangimport.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testclangimport.cpp.o -MF CMakeFiles/testrunner.dir/testclangimport.cpp.o.d -o CMakeFiles/testrunner.dir/testclangimport.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testclangimport.cpp [ 69%] Building CXX object test/CMakeFiles/testrunner.dir/testclass.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testclass.cpp.o -MF CMakeFiles/testrunner.dir/testclass.cpp.o.d -o CMakeFiles/testrunner.dir/testclass.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testclass.cpp [ 69%] Building CXX object test/CMakeFiles/testrunner.dir/testcmdlineparser.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testcmdlineparser.cpp.o -MF CMakeFiles/testrunner.dir/testcmdlineparser.cpp.o.d -o CMakeFiles/testrunner.dir/testcmdlineparser.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testcmdlineparser.cpp [ 70%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/codeeditor.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/codeeditor.cpp.o -MF CMakeFiles/cppcheck-gui.dir/codeeditor.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/codeeditor.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/codeeditor.cpp [ 70%] Building CXX object test/CMakeFiles/testrunner.dir/testcondition.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testcondition.cpp.o -MF CMakeFiles/testrunner.dir/testcondition.cpp.o.d -o CMakeFiles/testrunner.dir/testcondition.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testcondition.cpp [ 70%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/codeeditorstyle.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/codeeditorstyle.cpp.o -MF CMakeFiles/cppcheck-gui.dir/codeeditorstyle.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/codeeditorstyle.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/codeeditorstyle.cpp [ 72%] Building CXX object test/CMakeFiles/testrunner.dir/testconstructors.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testconstructors.cpp.o -MF CMakeFiles/testrunner.dir/testconstructors.cpp.o.d -o CMakeFiles/testrunner.dir/testconstructors.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testconstructors.cpp [ 72%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/codeeditstylecontrols.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/codeeditstylecontrols.cpp.o -MF CMakeFiles/cppcheck-gui.dir/codeeditstylecontrols.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/codeeditstylecontrols.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/codeeditstylecontrols.cpp [ 72%] Building CXX object test/CMakeFiles/testrunner.dir/testcppcheck.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testcppcheck.cpp.o -MF CMakeFiles/testrunner.dir/testcppcheck.cpp.o.d -o CMakeFiles/testrunner.dir/testcppcheck.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testcppcheck.cpp [ 72%] Building CXX object test/CMakeFiles/testrunner.dir/testerrorlogger.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testerrorlogger.cpp.o -MF CMakeFiles/testrunner.dir/testerrorlogger.cpp.o.d -o CMakeFiles/testrunner.dir/testerrorlogger.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testerrorlogger.cpp [ 72%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/codeeditstyledialog.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/codeeditstyledialog.cpp.o -MF CMakeFiles/cppcheck-gui.dir/codeeditstyledialog.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/codeeditstyledialog.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/codeeditstyledialog.cpp [ 72%] Building CXX object test/CMakeFiles/testrunner.dir/testexceptionsafety.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testexceptionsafety.cpp.o -MF CMakeFiles/testrunner.dir/testexceptionsafety.cpp.o.d -o CMakeFiles/testrunner.dir/testexceptionsafety.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testexceptionsafety.cpp [ 73%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/common.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/common.cpp.o -MF CMakeFiles/cppcheck-gui.dir/common.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/common.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/common.cpp [ 74%] Building CXX object test/CMakeFiles/testrunner.dir/testfilelister.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testfilelister.cpp.o -MF CMakeFiles/testrunner.dir/testfilelister.cpp.o.d -o CMakeFiles/testrunner.dir/testfilelister.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testfilelister.cpp [ 74%] Building CXX object test/CMakeFiles/testrunner.dir/testfunctions.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testfunctions.cpp.o -MF CMakeFiles/testrunner.dir/testfunctions.cpp.o.d -o CMakeFiles/testrunner.dir/testfunctions.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testfunctions.cpp [ 74%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/cppchecklibrarydata.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/cppchecklibrarydata.cpp.o -MF CMakeFiles/cppcheck-gui.dir/cppchecklibrarydata.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/cppchecklibrarydata.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/cppchecklibrarydata.cpp [ 74%] Building CXX object test/CMakeFiles/testrunner.dir/testgarbage.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testgarbage.cpp.o -MF CMakeFiles/testrunner.dir/testgarbage.cpp.o.d -o CMakeFiles/testrunner.dir/testgarbage.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testgarbage.cpp [ 74%] Building CXX object test/CMakeFiles/testrunner.dir/testimportproject.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testimportproject.cpp.o -MF CMakeFiles/testrunner.dir/testimportproject.cpp.o.d -o CMakeFiles/testrunner.dir/testimportproject.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testimportproject.cpp [ 74%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/csvreport.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/csvreport.cpp.o -MF CMakeFiles/cppcheck-gui.dir/csvreport.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/csvreport.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/csvreport.cpp [ 74%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/erroritem.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/erroritem.cpp.o -MF CMakeFiles/cppcheck-gui.dir/erroritem.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/erroritem.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/erroritem.cpp [ 75%] Building CXX object test/CMakeFiles/testrunner.dir/testincompletestatement.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testincompletestatement.cpp.o -MF CMakeFiles/testrunner.dir/testincompletestatement.cpp.o.d -o CMakeFiles/testrunner.dir/testincompletestatement.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testincompletestatement.cpp [ 76%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/filelist.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/filelist.cpp.o -MF CMakeFiles/cppcheck-gui.dir/filelist.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/filelist.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/filelist.cpp [ 76%] Building CXX object test/CMakeFiles/testrunner.dir/testinternal.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testinternal.cpp.o -MF CMakeFiles/testrunner.dir/testinternal.cpp.o.d -o CMakeFiles/testrunner.dir/testinternal.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testinternal.cpp [ 76%] Building CXX object test/CMakeFiles/testrunner.dir/testio.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testio.cpp.o -MF CMakeFiles/testrunner.dir/testio.cpp.o.d -o CMakeFiles/testrunner.dir/testio.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testio.cpp [ 76%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/fileviewdialog.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/fileviewdialog.cpp.o -MF CMakeFiles/cppcheck-gui.dir/fileviewdialog.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/fileviewdialog.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/fileviewdialog.cpp [ 76%] Building CXX object test/CMakeFiles/testrunner.dir/testleakautovar.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testleakautovar.cpp.o -MF CMakeFiles/testrunner.dir/testleakautovar.cpp.o.d -o CMakeFiles/testrunner.dir/testleakautovar.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testleakautovar.cpp [ 76%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/helpdialog.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/helpdialog.cpp.o -MF CMakeFiles/cppcheck-gui.dir/helpdialog.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/helpdialog.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/helpdialog.cpp [ 76%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/libraryaddfunctiondialog.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/libraryaddfunctiondialog.cpp.o -MF CMakeFiles/cppcheck-gui.dir/libraryaddfunctiondialog.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/libraryaddfunctiondialog.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/libraryaddfunctiondialog.cpp [ 77%] Building CXX object test/CMakeFiles/testrunner.dir/testlibrary.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testlibrary.cpp.o -MF CMakeFiles/testrunner.dir/testlibrary.cpp.o.d -o CMakeFiles/testrunner.dir/testlibrary.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testlibrary.cpp [ 79%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/librarydialog.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/librarydialog.cpp.o -MF CMakeFiles/cppcheck-gui.dir/librarydialog.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/librarydialog.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/librarydialog.cpp [ 79%] Building CXX object test/CMakeFiles/testrunner.dir/testmathlib.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testmathlib.cpp.o -MF CMakeFiles/testrunner.dir/testmathlib.cpp.o.d -o CMakeFiles/testrunner.dir/testmathlib.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testmathlib.cpp [ 79%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/libraryeditargdialog.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/libraryeditargdialog.cpp.o -MF CMakeFiles/cppcheck-gui.dir/libraryeditargdialog.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/libraryeditargdialog.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/libraryeditargdialog.cpp [ 79%] Building CXX object test/CMakeFiles/testrunner.dir/testmemleak.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testmemleak.cpp.o -MF CMakeFiles/testrunner.dir/testmemleak.cpp.o.d -o CMakeFiles/testrunner.dir/testmemleak.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testmemleak.cpp [ 79%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/main.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/main.cpp.o -MF CMakeFiles/cppcheck-gui.dir/main.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/main.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/main.cpp [ 79%] Building CXX object test/CMakeFiles/testrunner.dir/testnullpointer.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testnullpointer.cpp.o -MF CMakeFiles/testrunner.dir/testnullpointer.cpp.o.d -o CMakeFiles/testrunner.dir/testnullpointer.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testnullpointer.cpp [ 80%] Building CXX object test/CMakeFiles/testrunner.dir/testoptions.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testoptions.cpp.o -MF CMakeFiles/testrunner.dir/testoptions.cpp.o.d -o CMakeFiles/testrunner.dir/testoptions.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testoptions.cpp [ 81%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/mainwindow.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/mainwindow.cpp.o -MF CMakeFiles/cppcheck-gui.dir/mainwindow.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/mainwindow.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/mainwindow.cpp [ 81%] Building CXX object test/CMakeFiles/testrunner.dir/testother.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testother.cpp.o -MF CMakeFiles/testrunner.dir/testother.cpp.o.d -o CMakeFiles/testrunner.dir/testother.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testother.cpp /builddir/build/BUILD/cppcheck-2.9/gui/mainwindow.cpp:191:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] mRecentProjectActs[i] = new QAction(this); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/mainwindow.cpp:192:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] mRecentProjectActs[i]->setVisible(false); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/mainwindow.cpp:193:17: warning: unsafe buffer access [-Wunsafe-buffer-usage] connect(mRecentProjectActs[i], SIGNAL(triggered()), ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/mainwindow.cpp:196:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] mRecentProjectActs[MaxRecentProjects] = nullptr; // The separator ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/mainwindow.cpp:1816:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] mRecentProjectActs[i]->setText(text); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/mainwindow.cpp:1817:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] mRecentProjectActs[i]->setData(projects[i]); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/mainwindow.cpp:1818:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] mRecentProjectActs[i]->setVisible(true); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/mainwindow.cpp:1819:62: warning: unsafe buffer access [-Wunsafe-buffer-usage] mUI->mMenuFile->insertAction(mUI->mActionProjectMRU, mRecentProjectActs[i]); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/mainwindow.cpp:1823:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] mRecentProjectActs[numRecentProjects] = mUI->mMenuFile->insertSeparator(mUI->mActionProjectMRU); ^~~~~~~~~~~~~~~~~~ [ 81%] Building CXX object test/CMakeFiles/testrunner.dir/testpath.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testpath.cpp.o -MF CMakeFiles/testrunner.dir/testpath.cpp.o.d -o CMakeFiles/testrunner.dir/testpath.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testpath.cpp [ 82%] Building CXX object test/CMakeFiles/testrunner.dir/testpathmatch.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testpathmatch.cpp.o -MF CMakeFiles/testrunner.dir/testpathmatch.cpp.o.d -o CMakeFiles/testrunner.dir/testpathmatch.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testpathmatch.cpp 9 warnings generated. [ 82%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/newsuppressiondialog.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/newsuppressiondialog.cpp.o -MF CMakeFiles/cppcheck-gui.dir/newsuppressiondialog.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/newsuppressiondialog.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/newsuppressiondialog.cpp [ 82%] Building CXX object test/CMakeFiles/testrunner.dir/testplatform.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testplatform.cpp.o -MF CMakeFiles/testrunner.dir/testplatform.cpp.o.d -o CMakeFiles/testrunner.dir/testplatform.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testplatform.cpp [ 82%] Building CXX object test/CMakeFiles/testrunner.dir/testpostfixoperator.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testpostfixoperator.cpp.o -MF CMakeFiles/testrunner.dir/testpostfixoperator.cpp.o.d -o CMakeFiles/testrunner.dir/testpostfixoperator.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testpostfixoperator.cpp [ 82%] Building CXX object test/CMakeFiles/testrunner.dir/testpreprocessor.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testpreprocessor.cpp.o -MF CMakeFiles/testrunner.dir/testpreprocessor.cpp.o.d -o CMakeFiles/testrunner.dir/testpreprocessor.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testpreprocessor.cpp /builddir/build/BUILD/cppcheck-2.9/test/testpreprocessor.cpp:286:66: warning: 'arg' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] std::string getConfigsStr(const char filedata[], const char *arg = nullptr) { ~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/test/testpreprocessor.cpp:289:36: note: used in pointer arithmetic here settings.userDefines = arg + 2; ^~~ /builddir/build/BUILD/cppcheck-2.9/test/testpreprocessor.cpp:291:40: note: used in pointer arithmetic here settings.userUndefs.insert(arg+2); ^~~ [ 82%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/platforms.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/platforms.cpp.o -MF CMakeFiles/cppcheck-gui.dir/platforms.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/platforms.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/platforms.cpp 1 warning generated. [ 83%] Building CXX object test/CMakeFiles/testrunner.dir/testprocessexecutor.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testprocessexecutor.cpp.o -MF CMakeFiles/testrunner.dir/testprocessexecutor.cpp.o.d -o CMakeFiles/testrunner.dir/testprocessexecutor.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testprocessexecutor.cpp [ 83%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/printablereport.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/printablereport.cpp.o -MF CMakeFiles/cppcheck-gui.dir/printablereport.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/printablereport.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/printablereport.cpp [ 83%] Building CXX object test/CMakeFiles/testrunner.dir/testrunner.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testrunner.cpp.o -MF CMakeFiles/testrunner.dir/testrunner.cpp.o.d -o CMakeFiles/testrunner.dir/testrunner.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testrunner.cpp [ 84%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/projectfile.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/projectfile.cpp.o -MF CMakeFiles/cppcheck-gui.dir/projectfile.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/projectfile.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/projectfile.cpp [ 84%] Building CXX object test/CMakeFiles/testrunner.dir/testsimplifytemplate.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testsimplifytemplate.cpp.o -MF CMakeFiles/testrunner.dir/testsimplifytemplate.cpp.o.d -o CMakeFiles/testrunner.dir/testsimplifytemplate.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testsimplifytemplate.cpp [ 84%] Building CXX object test/CMakeFiles/testrunner.dir/testsimplifytokens.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testsimplifytokens.cpp.o -MF CMakeFiles/testrunner.dir/testsimplifytokens.cpp.o.d -o CMakeFiles/testrunner.dir/testsimplifytokens.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testsimplifytokens.cpp [ 84%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/projectfiledialog.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/projectfiledialog.cpp.o -MF CMakeFiles/cppcheck-gui.dir/projectfiledialog.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/projectfiledialog.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/projectfiledialog.cpp [ 86%] Building CXX object test/CMakeFiles/testrunner.dir/testsimplifytypedef.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testsimplifytypedef.cpp.o -MF CMakeFiles/testrunner.dir/testsimplifytypedef.cpp.o.d -o CMakeFiles/testrunner.dir/testsimplifytypedef.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testsimplifytypedef.cpp /builddir/build/BUILD/cppcheck-2.9/gui/projectfiledialog.cpp:63:47: warning: 'builtinPlatforms' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const cppcheck::Platform::PlatformType builtinPlatforms[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/projectfiledialog.cpp:318:56: note: used in buffer access here const cppcheck::Platform::PlatformType p = builtinPlatforms[i]; ^~~~~~~~~~~~~~~~ [ 86%] Building CXX object test/CMakeFiles/testrunner.dir/testsimplifyusing.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testsimplifyusing.cpp.o -MF CMakeFiles/testrunner.dir/testsimplifyusing.cpp.o.d -o CMakeFiles/testrunner.dir/testsimplifyusing.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testsimplifyusing.cpp /builddir/build/BUILD/cppcheck-2.9/gui/projectfiledialog.cpp:63:47: warning: 'builtinPlatforms' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const cppcheck::Platform::PlatformType builtinPlatforms[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/projectfiledialog.cpp:416:73: note: used in buffer access here projectFile->setPlatform(cppcheck::Platform::platformString(builtinPlatforms[i])); ^~~~~~~~~~~~~~~~ [ 86%] Building CXX object test/CMakeFiles/testrunner.dir/testsizeof.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testsizeof.cpp.o -MF CMakeFiles/testrunner.dir/testsizeof.cpp.o.d -o CMakeFiles/testrunner.dir/testsizeof.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testsizeof.cpp 2 warnings generated. [ 86%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/report.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/report.cpp.o -MF CMakeFiles/cppcheck-gui.dir/report.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/report.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/report.cpp [ 86%] Building CXX object test/CMakeFiles/testrunner.dir/teststl.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/teststl.cpp.o -MF CMakeFiles/testrunner.dir/teststl.cpp.o.d -o CMakeFiles/testrunner.dir/teststl.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/teststl.cpp /builddir/build/BUILD/cppcheck-2.9/test/teststl.cpp:3038:27: warning: 'stlCont' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const std::string stlCont[] = { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/test/teststl.cpp:3050:122: note: used in buffer access here ASSERT_EQUALS_MSG("[test.cpp:4]: (error) Dangerous comparison using operator< on iterator.\n", errout.str(), stlCont[i]); ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/test/testsuite.h:129:104: note: expanded from macro 'ASSERT_EQUALS_MSG' #define ASSERT_EQUALS_MSG( EXPECTED, ACTUAL, MSG ) assertEquals(__FILE__, __LINE__, EXPECTED, ACTUAL, MSG) ^~~ /builddir/build/BUILD/cppcheck-2.9/test/teststl.cpp:3045:33: note: used in buffer access here " std::" + stlCont[i] + "::iterator it;\n" ^~~~~~~ /builddir/build/BUILD/cppcheck-2.9/test/teststl.cpp:180:47: note: expanded from macro 'check' #define check(...) check_(__FILE__, __LINE__, __VA_ARGS__) ^~~~~~~~~~~ [ 86%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/resultstree.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/resultstree.cpp.o -MF CMakeFiles/cppcheck-gui.dir/resultstree.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/resultstree.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/resultstree.cpp 1 warning generated. [ 87%] Building CXX object test/CMakeFiles/testrunner.dir/teststring.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/teststring.cpp.o -MF CMakeFiles/testrunner.dir/teststring.cpp.o.d -o CMakeFiles/testrunner.dir/teststring.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/teststring.cpp [ 87%] Building CXX object test/CMakeFiles/testrunner.dir/testsuite.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testsuite.cpp.o -MF CMakeFiles/testrunner.dir/testsuite.cpp.o.d -o CMakeFiles/testrunner.dir/testsuite.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testsuite.cpp [ 87%] Building CXX object test/CMakeFiles/testrunner.dir/testsummaries.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testsummaries.cpp.o -MF CMakeFiles/testrunner.dir/testsummaries.cpp.o.d -o CMakeFiles/testrunner.dir/testsummaries.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testsummaries.cpp [ 88%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/resultsview.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/resultsview.cpp.o -MF CMakeFiles/cppcheck-gui.dir/resultsview.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/resultsview.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/resultsview.cpp [ 88%] Building CXX object test/CMakeFiles/testrunner.dir/testsuppressions.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testsuppressions.cpp.o -MF CMakeFiles/testrunner.dir/testsuppressions.cpp.o.d -o CMakeFiles/testrunner.dir/testsuppressions.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testsuppressions.cpp [ 89%] Building CXX object test/CMakeFiles/testrunner.dir/testsymboldatabase.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testsymboldatabase.cpp.o -MF CMakeFiles/testrunner.dir/testsymboldatabase.cpp.o.d -o CMakeFiles/testrunner.dir/testsymboldatabase.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testsymboldatabase.cpp [ 89%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/scratchpad.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/scratchpad.cpp.o -MF CMakeFiles/cppcheck-gui.dir/scratchpad.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/scratchpad.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/scratchpad.cpp /builddir/build/BUILD/cppcheck-2.9/test/testsymboldatabase.cpp:5553:28: warning: 'linenrs' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const unsigned int linenrs[2] = { 2, 1 }; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/test/testsymboldatabase.cpp:5561:108: note: used in buffer access here expected << "Function call on line " << tok->linenr() << " calls function on line " << linenrs[index] << std::endl; ^~~~~~~ [ 89%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/settingsdialog.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/settingsdialog.cpp.o -MF CMakeFiles/cppcheck-gui.dir/settingsdialog.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/settingsdialog.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/settingsdialog.cpp [ 89%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/showtypes.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/showtypes.cpp.o -MF CMakeFiles/cppcheck-gui.dir/showtypes.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/showtypes.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp:96:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] mVisible[ShowStyle] = settings.value(SETTINGS_SHOW_STYLE, true).toBool(); ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp:97:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] mVisible[ShowErrors] = settings.value(SETTINGS_SHOW_ERRORS, true).toBool(); ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp:98:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] mVisible[ShowWarnings] = settings.value(SETTINGS_SHOW_WARNINGS, true).toBool(); ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp:99:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] mVisible[ShowPortability] = settings.value(SETTINGS_SHOW_PORTABILITY, true).toBool(); ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp:100:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] mVisible[ShowPerformance] = settings.value(SETTINGS_SHOW_PERFORMANCE, true).toBool(); ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp:101:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] mVisible[ShowInformation] = settings.value(SETTINGS_SHOW_INFORMATION, true).toBool(); ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp:107:44: warning: unsafe buffer access [-Wunsafe-buffer-usage] settings.setValue(SETTINGS_SHOW_STYLE, mVisible[ShowStyle]); ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp:108:45: warning: unsafe buffer access [-Wunsafe-buffer-usage] settings.setValue(SETTINGS_SHOW_ERRORS, mVisible[ShowErrors]); ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp:109:47: warning: unsafe buffer access [-Wunsafe-buffer-usage] settings.setValue(SETTINGS_SHOW_WARNINGS, mVisible[ShowWarnings]); ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp:110:50: warning: unsafe buffer access [-Wunsafe-buffer-usage] settings.setValue(SETTINGS_SHOW_PORTABILITY, mVisible[ShowPortability]); ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp:111:50: warning: unsafe buffer access [-Wunsafe-buffer-usage] settings.setValue(SETTINGS_SHOW_PERFORMANCE, mVisible[ShowPerformance]); ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp:112:50: warning: unsafe buffer access [-Wunsafe-buffer-usage] settings.setValue(SETTINGS_SHOW_INFORMATION, mVisible[ShowInformation]); ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp:117:12: warning: unsafe buffer access [-Wunsafe-buffer-usage] return mVisible[category]; ^~~~~~~~ /builddir/build/BUILD/cppcheck-2.9/gui/showtypes.cpp:127:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] mVisible[category] = showing; ^~~~~~~~ 14 warnings generated. 1 warning generated. [ 90%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/statsdialog.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/statsdialog.cpp.o -MF CMakeFiles/cppcheck-gui.dir/statsdialog.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/statsdialog.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/statsdialog.cpp [ 90%] Building CXX object test/CMakeFiles/testrunner.dir/testthreadexecutor.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testthreadexecutor.cpp.o -MF CMakeFiles/testrunner.dir/testthreadexecutor.cpp.o.d -o CMakeFiles/testrunner.dir/testthreadexecutor.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testthreadexecutor.cpp [ 90%] Building CXX object test/CMakeFiles/testrunner.dir/testtimer.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testtimer.cpp.o -MF CMakeFiles/testrunner.dir/testtimer.cpp.o.d -o CMakeFiles/testrunner.dir/testtimer.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testtimer.cpp [ 90%] Building CXX object test/CMakeFiles/testrunner.dir/testtoken.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testtoken.cpp.o -MF CMakeFiles/testrunner.dir/testtoken.cpp.o.d -o CMakeFiles/testrunner.dir/testtoken.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testtoken.cpp [ 90%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/threadhandler.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/threadhandler.cpp.o -MF CMakeFiles/cppcheck-gui.dir/threadhandler.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/threadhandler.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/threadhandler.cpp [ 91%] Building CXX object test/CMakeFiles/testrunner.dir/testtokenize.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testtokenize.cpp.o -MF CMakeFiles/testrunner.dir/testtokenize.cpp.o.d -o CMakeFiles/testrunner.dir/testtokenize.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testtokenize.cpp [ 91%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/threadresult.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/threadresult.cpp.o -MF CMakeFiles/cppcheck-gui.dir/threadresult.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/threadresult.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/threadresult.cpp [ 91%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/translationhandler.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/translationhandler.cpp.o -MF CMakeFiles/cppcheck-gui.dir/translationhandler.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/translationhandler.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/translationhandler.cpp [ 91%] Building CXX object test/CMakeFiles/testrunner.dir/testtokenlist.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testtokenlist.cpp.o -MF CMakeFiles/testrunner.dir/testtokenlist.cpp.o.d -o CMakeFiles/testrunner.dir/testtokenlist.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testtokenlist.cpp [ 91%] Building CXX object test/CMakeFiles/testrunner.dir/testtokenrange.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testtokenrange.cpp.o -MF CMakeFiles/testrunner.dir/testtokenrange.cpp.o.d -o CMakeFiles/testrunner.dir/testtokenrange.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testtokenrange.cpp [ 93%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/txtreport.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/txtreport.cpp.o -MF CMakeFiles/cppcheck-gui.dir/txtreport.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/txtreport.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/txtreport.cpp [ 94%] Building CXX object test/CMakeFiles/testrunner.dir/testtype.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testtype.cpp.o -MF CMakeFiles/testrunner.dir/testtype.cpp.o.d -o CMakeFiles/testrunner.dir/testtype.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testtype.cpp [ 94%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/xmlreport.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/xmlreport.cpp.o -MF CMakeFiles/cppcheck-gui.dir/xmlreport.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/xmlreport.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/xmlreport.cpp [ 94%] Building CXX object test/CMakeFiles/testrunner.dir/testuninitvar.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testuninitvar.cpp.o -MF CMakeFiles/testrunner.dir/testuninitvar.cpp.o.d -o CMakeFiles/testrunner.dir/testuninitvar.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testuninitvar.cpp [ 94%] Building CXX object gui/CMakeFiles/cppcheck-gui.dir/xmlreportv2.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_GUI_LIB -DQT_HELP_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/cppcheck-gui_autogen/include -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtHelp -isystem /usr/include/qt5/QtSql -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Wno-redundant-parens -fPIC -MD -MT gui/CMakeFiles/cppcheck-gui.dir/xmlreportv2.cpp.o -MF CMakeFiles/cppcheck-gui.dir/xmlreportv2.cpp.o.d -o CMakeFiles/cppcheck-gui.dir/xmlreportv2.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/xmlreportv2.cpp [ 94%] Building CXX object test/CMakeFiles/testrunner.dir/testunusedfunctions.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testunusedfunctions.cpp.o -MF CMakeFiles/testrunner.dir/testunusedfunctions.cpp.o.d -o CMakeFiles/testrunner.dir/testunusedfunctions.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testunusedfunctions.cpp [ 95%] Linking CXX executable ../bin/cppcheck-gui cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui && /usr/bin/cmake -E cmake_link_script CMakeFiles/cppcheck-gui.dir/link.txt --verbose=1 /usr/bin/clang++ -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -rdynamic "CMakeFiles/cppcheck-gui.dir/cppcheck-gui_autogen/mocs_compilation.cpp.o" "CMakeFiles/cppcheck-gui.dir/qrc_gui.cpp.o" "CMakeFiles/cppcheck-gui.dir/aboutdialog.cpp.o" "CMakeFiles/cppcheck-gui.dir/application.cpp.o" "CMakeFiles/cppcheck-gui.dir/applicationdialog.cpp.o" "CMakeFiles/cppcheck-gui.dir/applicationlist.cpp.o" "CMakeFiles/cppcheck-gui.dir/checkstatistics.cpp.o" "CMakeFiles/cppcheck-gui.dir/checkthread.cpp.o" "CMakeFiles/cppcheck-gui.dir/codeeditor.cpp.o" "CMakeFiles/cppcheck-gui.dir/codeeditorstyle.cpp.o" "CMakeFiles/cppcheck-gui.dir/codeeditstylecontrols.cpp.o" "CMakeFiles/cppcheck-gui.dir/codeeditstyledialog.cpp.o" "CMakeFiles/cppcheck-gui.dir/common.cpp.o" "CMakeFiles/cppcheck-gui.dir/cppchecklibrarydata.cpp.o" "CMakeFiles/cppcheck-gui.dir/csvreport.cpp.o" "CMakeFiles/cppcheck-gui.dir/erroritem.cpp.o" "CMakeFiles/cppcheck-gui.dir/filelist.cpp.o" "CMakeFiles/cppcheck-gui.dir/fileviewdialog.cpp.o" "CMakeFiles/cppcheck-gui.dir/helpdialog.cpp.o" "CMakeFiles/cppcheck-gui.dir/libraryaddfunctiondialog.cpp.o" "CMakeFiles/cppcheck-gui.dir/librarydialog.cpp.o" "CMakeFiles/cppcheck-gui.dir/libraryeditargdialog.cpp.o" "CMakeFiles/cppcheck-gui.dir/main.cpp.o" "CMakeFiles/cppcheck-gui.dir/mainwindow.cpp.o" "CMakeFiles/cppcheck-gui.dir/newsuppressiondialog.cpp.o" "CMakeFiles/cppcheck-gui.dir/platforms.cpp.o" "CMakeFiles/cppcheck-gui.dir/printablereport.cpp.o" "CMakeFiles/cppcheck-gui.dir/projectfile.cpp.o" "CMakeFiles/cppcheck-gui.dir/projectfiledialog.cpp.o" "CMakeFiles/cppcheck-gui.dir/report.cpp.o" "CMakeFiles/cppcheck-gui.dir/resultstree.cpp.o" "CMakeFiles/cppcheck-gui.dir/resultsview.cpp.o" "CMakeFiles/cppcheck-gui.dir/scratchpad.cpp.o" "CMakeFiles/cppcheck-gui.dir/settingsdialog.cpp.o" "CMakeFiles/cppcheck-gui.dir/showtypes.cpp.o" "CMakeFiles/cppcheck-gui.dir/statsdialog.cpp.o" "CMakeFiles/cppcheck-gui.dir/threadhandler.cpp.o" "CMakeFiles/cppcheck-gui.dir/threadresult.cpp.o" "CMakeFiles/cppcheck-gui.dir/translationhandler.cpp.o" "CMakeFiles/cppcheck-gui.dir/txtreport.cpp.o" "CMakeFiles/cppcheck-gui.dir/xmlreport.cpp.o" "CMakeFiles/cppcheck-gui.dir/xmlreportv2.cpp.o" ../lib/CMakeFiles/lib_objs.dir/build/mc_analyzerinfo.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_astutils.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_check.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_check64bit.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkassert.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkautovariables.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkbool.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkboost.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkbufferoverrun.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkclass.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkcondition.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkexceptionsafety.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkfunctions.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkinternal.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkio.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkleakautovar.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkmemoryleak.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checknullpointer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkother.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkpostfixoperator.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checksizeof.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkstl.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkstring.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checktype.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkuninitvar.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkunusedfunctions.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkunusedvar.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkvaarg.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_clangimport.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_color.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_cppcheck.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_ctu.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_errorlogger.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_errortypes.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_forwardanalyzer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_importproject.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_infer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_library.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_mathlib.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_path.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_pathanalysis.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_pathmatch.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_platform.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_preprocessor.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_programmemory.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_reverseanalyzer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_settings.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_summaries.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_suppressions.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_symboldatabase.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_templatesimplifier.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_timer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_token.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_tokenize.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_tokenlist.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_utils.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_valueflow.cpp.o ../externals/simplecpp/CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o -o ../bin/cppcheck-gui -lpcre /usr/lib64/libtinyxml2.so.9.0.0 /usr/lib64/libQt5PrintSupport.so.5.15.9 /usr/lib64/libQt5Help.so.5.15.9 /usr/lib64/libQt5Widgets.so.5.15.9 /usr/lib64/libQt5Gui.so.5.15.9 /usr/lib64/libQt5Sql.so.5.15.9 /usr/lib64/libQt5Core.so.5.15.9 [ 95%] Building CXX object test/CMakeFiles/testrunner.dir/testunusedprivfunc.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testunusedprivfunc.cpp.o -MF CMakeFiles/testrunner.dir/testunusedprivfunc.cpp.o.d -o CMakeFiles/testrunner.dir/testunusedprivfunc.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testunusedprivfunc.cpp [ 96%] Building CXX object test/CMakeFiles/testrunner.dir/testunusedvar.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testunusedvar.cpp.o -MF CMakeFiles/testrunner.dir/testunusedvar.cpp.o.d -o CMakeFiles/testrunner.dir/testunusedvar.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testunusedvar.cpp /builddir/build/BUILD/cppcheck-2.9/test/testunusedvar.cpp:5146:26: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (const char *p = op; *p; ++p) { ~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/cppcheck-2.9/test/testunusedvar.cpp:5146:40: note: used in pointer arithmetic here for (const char *p = op; *p; ++p) { ^ 1 warning generated. [ 96%] Building CXX object test/CMakeFiles/testrunner.dir/testutils.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testutils.cpp.o -MF CMakeFiles/testrunner.dir/testutils.cpp.o.d -o CMakeFiles/testrunner.dir/testutils.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testutils.cpp [ 96%] Building CXX object test/CMakeFiles/testrunner.dir/testvaarg.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testvaarg.cpp.o -MF CMakeFiles/testrunner.dir/testvaarg.cpp.o.d -o CMakeFiles/testrunner.dir/testvaarg.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testvaarg.cpp [ 96%] Building CXX object test/CMakeFiles/testrunner.dir/testvalueflow.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testvalueflow.cpp.o -MF CMakeFiles/testrunner.dir/testvalueflow.cpp.o.d -o CMakeFiles/testrunner.dir/testvalueflow.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testvalueflow.cpp [ 97%] Building CXX object test/CMakeFiles/testrunner.dir/testvarid.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test -I/builddir/build/BUILD/cppcheck-2.9/test -I/builddir/build/BUILD/cppcheck-2.9/lib -I/builddir/build/BUILD/cppcheck-2.9/cli -I/builddir/build/BUILD/cppcheck-2.9/externals/simplecpp -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -Winvalid-pch -Xclang -include-pch -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test/CMakeFiles/testrunner.dir/cmake_pch.hxx -MD -MT test/CMakeFiles/testrunner.dir/testvarid.cpp.o -MF CMakeFiles/testrunner.dir/testvarid.cpp.o.d -o CMakeFiles/testrunner.dir/testvarid.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/test/testvarid.cpp [ 97%] Linking CXX executable ../bin/testrunner cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/testrunner.dir/link.txt --verbose=1 /usr/bin/clang++ -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -rdynamic CMakeFiles/testrunner.dir/options.cpp.o CMakeFiles/testrunner.dir/test64bit.cpp.o CMakeFiles/testrunner.dir/testanalyzerinformation.cpp.o CMakeFiles/testrunner.dir/testassert.cpp.o CMakeFiles/testrunner.dir/testastutils.cpp.o CMakeFiles/testrunner.dir/testautovariables.cpp.o CMakeFiles/testrunner.dir/testbool.cpp.o CMakeFiles/testrunner.dir/testboost.cpp.o CMakeFiles/testrunner.dir/testbufferoverrun.cpp.o CMakeFiles/testrunner.dir/testcharvar.cpp.o CMakeFiles/testrunner.dir/testclangimport.cpp.o CMakeFiles/testrunner.dir/testclass.cpp.o CMakeFiles/testrunner.dir/testcmdlineparser.cpp.o CMakeFiles/testrunner.dir/testcondition.cpp.o CMakeFiles/testrunner.dir/testconstructors.cpp.o CMakeFiles/testrunner.dir/testcppcheck.cpp.o CMakeFiles/testrunner.dir/testerrorlogger.cpp.o CMakeFiles/testrunner.dir/testexceptionsafety.cpp.o CMakeFiles/testrunner.dir/testfilelister.cpp.o CMakeFiles/testrunner.dir/testfunctions.cpp.o CMakeFiles/testrunner.dir/testgarbage.cpp.o CMakeFiles/testrunner.dir/testimportproject.cpp.o CMakeFiles/testrunner.dir/testincompletestatement.cpp.o CMakeFiles/testrunner.dir/testinternal.cpp.o CMakeFiles/testrunner.dir/testio.cpp.o CMakeFiles/testrunner.dir/testleakautovar.cpp.o CMakeFiles/testrunner.dir/testlibrary.cpp.o CMakeFiles/testrunner.dir/testmathlib.cpp.o CMakeFiles/testrunner.dir/testmemleak.cpp.o CMakeFiles/testrunner.dir/testnullpointer.cpp.o CMakeFiles/testrunner.dir/testoptions.cpp.o CMakeFiles/testrunner.dir/testother.cpp.o CMakeFiles/testrunner.dir/testpath.cpp.o CMakeFiles/testrunner.dir/testpathmatch.cpp.o CMakeFiles/testrunner.dir/testplatform.cpp.o CMakeFiles/testrunner.dir/testpostfixoperator.cpp.o CMakeFiles/testrunner.dir/testpreprocessor.cpp.o CMakeFiles/testrunner.dir/testprocessexecutor.cpp.o CMakeFiles/testrunner.dir/testrunner.cpp.o CMakeFiles/testrunner.dir/testsimplifytemplate.cpp.o CMakeFiles/testrunner.dir/testsimplifytokens.cpp.o CMakeFiles/testrunner.dir/testsimplifytypedef.cpp.o CMakeFiles/testrunner.dir/testsimplifyusing.cpp.o CMakeFiles/testrunner.dir/testsizeof.cpp.o CMakeFiles/testrunner.dir/teststl.cpp.o CMakeFiles/testrunner.dir/teststring.cpp.o CMakeFiles/testrunner.dir/testsuite.cpp.o CMakeFiles/testrunner.dir/testsummaries.cpp.o CMakeFiles/testrunner.dir/testsuppressions.cpp.o CMakeFiles/testrunner.dir/testsymboldatabase.cpp.o CMakeFiles/testrunner.dir/testthreadexecutor.cpp.o CMakeFiles/testrunner.dir/testtimer.cpp.o CMakeFiles/testrunner.dir/testtoken.cpp.o CMakeFiles/testrunner.dir/testtokenize.cpp.o CMakeFiles/testrunner.dir/testtokenlist.cpp.o CMakeFiles/testrunner.dir/testtokenrange.cpp.o CMakeFiles/testrunner.dir/testtype.cpp.o CMakeFiles/testrunner.dir/testuninitvar.cpp.o CMakeFiles/testrunner.dir/testunusedfunctions.cpp.o CMakeFiles/testrunner.dir/testunusedprivfunc.cpp.o CMakeFiles/testrunner.dir/testunusedvar.cpp.o CMakeFiles/testrunner.dir/testutils.cpp.o CMakeFiles/testrunner.dir/testvaarg.cpp.o CMakeFiles/testrunner.dir/testvalueflow.cpp.o CMakeFiles/testrunner.dir/testvarid.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_analyzerinfo.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_astutils.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_check.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_check64bit.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkassert.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkautovariables.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkbool.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkboost.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkbufferoverrun.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkclass.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkcondition.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkexceptionsafety.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkfunctions.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkinternal.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkio.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkleakautovar.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkmemoryleak.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checknullpointer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkother.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkpostfixoperator.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checksizeof.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkstl.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkstring.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checktype.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkuninitvar.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkunusedfunctions.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkunusedvar.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_checkvaarg.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_clangimport.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_color.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_cppcheck.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_ctu.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_errorlogger.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_errortypes.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_forwardanalyzer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_importproject.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_infer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_library.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_mathlib.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_path.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_pathanalysis.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_pathmatch.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_platform.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_preprocessor.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_programmemory.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_reverseanalyzer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_settings.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_summaries.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_suppressions.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_symboldatabase.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_templatesimplifier.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_timer.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_token.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_tokenize.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_tokenlist.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_utils.cpp.o ../lib/CMakeFiles/lib_objs.dir/build/mc_valueflow.cpp.o ../cli/CMakeFiles/cli_objs.dir/cmdlineparser.cpp.o ../cli/CMakeFiles/cli_objs.dir/cppcheckexecutor.cpp.o ../cli/CMakeFiles/cli_objs.dir/cppcheckexecutorseh.cpp.o ../cli/CMakeFiles/cli_objs.dir/cppcheckexecutorsig.cpp.o ../cli/CMakeFiles/cli_objs.dir/executor.cpp.o ../cli/CMakeFiles/cli_objs.dir/filelister.cpp.o ../cli/CMakeFiles/cli_objs.dir/processexecutor.cpp.o ../cli/CMakeFiles/cli_objs.dir/stacktrace.cpp.o ../cli/CMakeFiles/cli_objs.dir/threadexecutor.cpp.o ../externals/simplecpp/CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o -o ../bin/testrunner -lpcre /usr/lib64/libtinyxml2.so.9.0.0 gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 97%] Built target cppcheck-gui /usr/bin/gmake -f gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/build.make gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 98%] Generating moc_testxmlreportv2.cpp cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 && /usr/lib64/qt5/bin/moc @/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2/moc_testxmlreportv2.cpp_parameters cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cppcheck-2.9 /builddir/build/BUILD/cppcheck-2.9/gui/test/xmlreportv2 /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/gmake -f gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/build.make gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [ 98%] Building CXX object gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/moc_testxmlreportv2.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/xmlreportv2\" -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 -I/builddir/build/BUILD/cppcheck-2.9/gui/test/xmlreportv2 -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/moc_testxmlreportv2.cpp.o -MF CMakeFiles/test-xmlreportv2.dir/moc_testxmlreportv2.cpp.o.d -o CMakeFiles/test-xmlreportv2.dir/moc_testxmlreportv2.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2/moc_testxmlreportv2.cpp [ 98%] Building CXX object gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/testxmlreportv2.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/xmlreportv2\" -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 -I/builddir/build/BUILD/cppcheck-2.9/gui/test/xmlreportv2 -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/testxmlreportv2.cpp.o -MF CMakeFiles/test-xmlreportv2.dir/testxmlreportv2.cpp.o.d -o CMakeFiles/test-xmlreportv2.dir/testxmlreportv2.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/test/xmlreportv2/testxmlreportv2.cpp [ 98%] Building CXX object gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/__/__/erroritem.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/xmlreportv2\" -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 -I/builddir/build/BUILD/cppcheck-2.9/gui/test/xmlreportv2 -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/__/__/erroritem.cpp.o -MF CMakeFiles/test-xmlreportv2.dir/__/__/erroritem.cpp.o.d -o CMakeFiles/test-xmlreportv2.dir/__/__/erroritem.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/erroritem.cpp [100%] Building CXX object gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/__/__/report.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/xmlreportv2\" -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 -I/builddir/build/BUILD/cppcheck-2.9/gui/test/xmlreportv2 -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/__/__/report.cpp.o -MF CMakeFiles/test-xmlreportv2.dir/__/__/report.cpp.o.d -o CMakeFiles/test-xmlreportv2.dir/__/__/report.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/report.cpp [100%] Building CXX object gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/__/__/xmlreport.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/xmlreportv2\" -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 -I/builddir/build/BUILD/cppcheck-2.9/gui/test/xmlreportv2 -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/__/__/xmlreport.cpp.o -MF CMakeFiles/test-xmlreportv2.dir/__/__/xmlreport.cpp.o.d -o CMakeFiles/test-xmlreportv2.dir/__/__/xmlreport.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/xmlreport.cpp [100%] Building CXX object gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/__/__/xmlreportv2.cpp.o cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 && /usr/bin/clang++ -DFILESDIR=\"/usr/share/Cppcheck\" -DHAVE_RULES -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build\" -DQT_TESTLIB_LIB -DSRCDIR=\"/builddir/build/BUILD/cppcheck-2.9/gui/test/xmlreportv2\" -DTINYXML2_IMPORT -DTIXML_USE_STL -I/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 -I/builddir/build/BUILD/cppcheck-2.9/gui/test/xmlreportv2 -I/builddir/build/BUILD/cppcheck-2.9/gui -I/builddir/build/BUILD/cppcheck-2.9/lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtTest -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-non-virtual-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-format-nonliteral -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-conditional-uninitialized -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-unused-member-function -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -U_GLIBCXX_DEBUG -fPIC -MD -MT gui/test/xmlreportv2/CMakeFiles/test-xmlreportv2.dir/__/__/xmlreportv2.cpp.o -MF CMakeFiles/test-xmlreportv2.dir/__/__/xmlreportv2.cpp.o.d -o CMakeFiles/test-xmlreportv2.dir/__/__/xmlreportv2.cpp.o -c /builddir/build/BUILD/cppcheck-2.9/gui/xmlreportv2.cpp [100%] Linking CXX executable ../../../bin/test-xmlreportv2 cd /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/gui/test/xmlreportv2 && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-xmlreportv2.dir/link.txt --verbose=1 /usr/bin/clang++ -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -rdynamic "CMakeFiles/test-xmlreportv2.dir/moc_testxmlreportv2.cpp.o" "CMakeFiles/test-xmlreportv2.dir/testxmlreportv2.cpp.o" "CMakeFiles/test-xmlreportv2.dir/__/__/erroritem.cpp.o" "CMakeFiles/test-xmlreportv2.dir/__/__/report.cpp.o" "CMakeFiles/test-xmlreportv2.dir/__/__/xmlreport.cpp.o" "CMakeFiles/test-xmlreportv2.dir/__/__/xmlreportv2.cpp.o" ../../../lib/CMakeFiles/lib_objs.dir/build/mc_analyzerinfo.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_astutils.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_check.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_check64bit.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkassert.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkautovariables.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkbool.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkboost.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkbufferoverrun.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkclass.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkcondition.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkexceptionsafety.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkfunctions.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkinternal.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkio.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkleakautovar.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkmemoryleak.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checknullpointer.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkother.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkpostfixoperator.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checksizeof.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkstl.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkstring.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checktype.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkuninitvar.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkunusedfunctions.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkunusedvar.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_checkvaarg.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_clangimport.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_color.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_cppcheck.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_ctu.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_errorlogger.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_errortypes.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_forwardanalyzer.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_importproject.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_infer.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_library.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_mathlib.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_path.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_pathanalysis.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_pathmatch.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_platform.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_preprocessor.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_programmemory.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_reverseanalyzer.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_settings.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_summaries.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_suppressions.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_symboldatabase.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_templatesimplifier.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_timer.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_token.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_tokenize.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_tokenlist.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_utils.cpp.o ../../../lib/CMakeFiles/lib_objs.dir/build/mc_valueflow.cpp.o ../../../externals/simplecpp/CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o -o ../../../bin/test-xmlreportv2 -lpcre /usr/lib64/libtinyxml2.so.9.0.0 /usr/lib64/libQt5Test.so.5.15.9 /usr/lib64/libQt5Core.so.5.15.9 gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [100%] Built target testrunner gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [100%] Built target test-xmlreportv2 gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [100%] Built target benchmark-simple gmake[2]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' [100%] Built target cppcheck gmake[1]: Leaving directory '/builddir/build/BUILD/cppcheck-2.9/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/cppcheck-2.9/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oPjg0f + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64 ++ dirname /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64 + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd cppcheck-2.9 + rm -rf /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64 + DESTDIR=/builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "Release" -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/bin/cppcheck -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/__init__.py -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/cppcheck.py -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/cppcheckdata.py -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/findcasts.py -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/misc.py -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/misra.py -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/misra_9.py -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/naming.py -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/namingng.py -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/runaddon.py -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/threadsafety.py -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/y2038.py -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/avr.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/bento4.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/boost.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/bsd.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/cairo.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/cppcheck-lib.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/cppunit.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/daca.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/dpdk.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/embedded_sql.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/emscripten.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/ginac.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/gnu.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/googletest.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/gtk.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/icu.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/kde.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/libcerror.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/libcurl.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/libsigc++.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/lua.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/mfc.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/microsoft_atl.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/microsoft_sal.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/microsoft_unittest.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/motif.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/nspr.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/ntl.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/opencv2.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/opengl.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/openmp.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/openssl.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/pcre.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/posix.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/python.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/qt.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/ruby.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/sdl.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/sfml.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/sqlite3.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/std.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/tinyxml2.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/vcl.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/windows.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/wxsqlite3.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/wxsvg.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/wxwidgets.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/cfg/zlib.cfg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/aix_ppc64.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/arm32-wchar_t2.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/arm32-wchar_t4.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/arm64-wchar_t2.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/arm64-wchar_t4.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/avr8.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/cray_sv1.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/elbrus-e1cp.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/mips32.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/msp430_eabi_large_datamodel.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/pic16.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/pic8-enhanced.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/pic8.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/unix32-unsigned.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/platforms/unix64-unsigned.xml -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/bin/cppcheck-gui -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/lang/cppcheck_de.qm -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/lang/cppcheck_es.qm -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/lang/cppcheck_fi.qm -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/lang/cppcheck_fr.qm -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/lang/cppcheck_it.qm -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/lang/cppcheck_ja.qm -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/lang/cppcheck_ko.qm -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/lang/cppcheck_nl.qm -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/lang/cppcheck_ru.qm -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/lang/cppcheck_sr.qm -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/lang/cppcheck_sv.qm -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/lang/cppcheck_zh_CN.qm -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/applications/cppcheck-gui.desktop -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/icons/hicolor/scalable/apps/cppcheck-gui.svg -- Installing: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/icons/hicolor/64x64/apps/cppcheck-gui.png + install -D -p -m 644 cppcheck.1 /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/man/man1/cppcheck.1 + desktop-file-validate /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/applications/cppcheck-gui.desktop + install -D -p -m 644 gui/cppcheck-gui.png /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/pixmaps/cppcheck-gui.png + install -D -p -m 644 gui/help/online-help.qhc /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/help/online-help.qhc + install -D -p -m 644 gui/help/online-help.qch /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/help/online-help.qch + install -D -p -m 755 htmlreport/cppcheck-htmlreport /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/bin/cppcheck-htmlreport + grep -l '#\!/usr/bin/env python3' /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/__init__.py /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/cppcheck.py /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/cppcheckdata.py /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/findcasts.py /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/misc.py /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/misra.py /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/misra_9.py /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/naming.py /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/namingng.py /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/runaddon.py /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/threadsafety.py /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/Cppcheck/addons/y2038.py + xargs chmod +x grep: warning: stray \ before ! + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/bin/cppcheck-gui [ 5c] clang version 17.0.0 (Fedora 17.0.0~pre20230508.gad5bed5372f3f7-1.fc38) /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/bin/cppcheck-gui built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/bin/cppcheck [ 5c] clang version 17.0.0 (Fedora 17.0.0~pre20230508.gad5bed5372f3f7-1.fc38) /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/bin/cppcheck built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 Checking for LLVM bitcode artifacts + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.9-4.fc38_clang16_03 --unique-debug-suffix -2.9-4.fc38_clang16_03.aarch64 --unique-debug-src-base cppcheck-2.9-4.fc38_clang16_03.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cppcheck-2.9 extracting debug info from /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/bin/cppcheck extracting debug info from /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/bin/cppcheck-gui original debug info size: 110580kB, size after compression: 98972kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 19700 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/cppcheck-gui-2.9-4.fc38_clang16_03.aarch64.debug [ 5c] clang version 17.0.0 (Fedora 17.0.0~pre20230508.gad5bed5372f3f7-1.fc38) /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/cppcheck-gui-2.9-4.fc38_clang16_03.aarch64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/cppcheck-2.9-4.fc38_clang16_03.aarch64.debug [ 5c] clang version 17.0.0 (Fedora 17.0.0~pre20230508.gad5bed5372f3f7-1.fc38) /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/cppcheck-2.9-4.fc38_clang16_03.aarch64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/bin/cppcheck-gui [ 5c] clang version 17.0.0 (Fedora 17.0.0~pre20230508.gad5bed5372f3f7-1.fc38) /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/cppcheck-gui-2.9-4.fc38_clang16_03.aarch64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/bin/cppcheck [ 5c] clang version 17.0.0 (Fedora 17.0.0~pre20230508.gad5bed5372f3f7-1.fc38) /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/lib/debug/usr/bin/cppcheck-2.9-4.fc38_clang16_03.aarch64.debug built with clang + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/Cppcheck/addons/y2038.py from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/share/Cppcheck/addons/threadsafety.py from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/share/Cppcheck/addons/namingng.py from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/share/Cppcheck/addons/naming.py from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/share/Cppcheck/addons/misra.py from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/share/Cppcheck/addons/misc.py from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/share/Cppcheck/addons/findcasts.py from /usr/bin/env python3 to #!/usr/bin/python3 + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.PZiO1T + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd cppcheck-2.9 + cd redhat-linux-build/bin + ./testrunner -g -q Test64BitPortability:....... TestAnalyzerInformation:. TestAssert:..... TestAstUtils:......... TestAutoVariables:................................................................................................. TestBool:................................ TestBoost:. TestBufferOverrun:................................................................................................................................................................................. TestCharVar:... TestClangImport:.............................................................................................. TestClass:......................................................................................................................................................................... TestCmdlineParser:.................................................................................................... TestCondition:.................................................................. TestConstructors:..................................................................................................................................................... TestCppcheck:... TestErrorLogger:.................... TestExceptionSafety:.................... TestFileLister: TestFunctions:.................................... TestGarbage:............................................................................................................................................................................................................................. TestIO:................................ TestImportProject:................... TestIncompleteStatement:............................. TestLeakAutoVar:........................................................................................................................ TestLeakAutoVarRecursiveCountLimit:. TestLeakAutoVarStrcpy:.. TestLeakAutoVarWindows:. TestLibrary:......................... TestMathLib:.............................. TestMemleak:.. TestMemleakInClass:................................ TestMemleakInFunction:........................ TestMemleakNoVar:...... TestMemleakStructMember:........................ TestNullPointer:.......................................................................................................................... TestOptions:........... TestOther:................................................................................................................................................................................................... TestPath:......... TestPathMatch:............................ TestPlatform:......... TestPostfixOperator:........... TestPreprocessor:................................................................................................................................................... TestProcessExecutor:........ TestSimplifyTemplate:.................................................................................................................................................................................................................................................. TestSimplifyTokens:....................................................................................... TestSimplifyTypedef:.................................................................................................................................................... TestSimplifyUsing:.............................................. TestSizeof:........... TestStl:................................................................................................................. TestString:................... TestSummaries:... TestSuppressions:........................... TestSymbolDatabase:.......................................................................................................................................................................................................................................................................................................................................... TestThreadExecutor:........ TestTimer:. TestToken:.................................................... TestTokenList:.... TestTokenRange:...... TestTokenizer:............................................................................................................................................................................................................................................................................................................................ TestType:...... TestUninitVar:.......................................................... TestUnusedFunctions:............................. TestUnusedPrivateFunction:................................. TestUnusedVar:............................................................................................................................................................................................... TestUtils:.. TestVaarg:...... TestValueFlow:.......................................................................... TestVarID:....................................................................................................................................................................................... Testing Complete Number of tests: 4092 Number of todos: 327 Tests failed: 0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: cppcheck-2.9-4.fc38_clang16_03.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oI4lTe + umask 022 + cd /builddir/build/BUILD + cd cppcheck-2.9 + DOCDIR=/builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/doc/cppcheck + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/doc/cppcheck + cp -pr AUTHORS /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/doc/cppcheck + cp -pr man/manual.html /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/doc/cppcheck + cp -pr man/reference-cfg-format.html /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/doc/cppcheck + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.33UIM1 + umask 022 + cd /builddir/build/BUILD + cd cppcheck-2.9 + LICENSEDIR=/builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/licenses/cppcheck + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/licenses/cppcheck + cp -pr COPYING /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64/usr/share/licenses/cppcheck + RPM_EC=0 ++ jobs -p + exit 0 Provides: cppcheck = 2.9-4.fc38_clang16_03 cppcheck(aarch-64) = 2.9-4.fc38_clang16_03 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.23)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.35)(64bit) libpcre.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.11)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.2)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtinyxml2.so.9()(64bit) rtld(GNU_HASH) Processing files: cppcheck-gui-2.9-4.fc38_clang16_03.aarch64 Provides: application() application(cppcheck-gui.desktop) cppcheck-gui = 2.9-4.fc38_clang16_03 cppcheck-gui(aarch-64) = 2.9-4.fc38_clang16_03 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libQt5Core.so.5()(64bit) libQt5Core.so.5(Qt_5)(64bit) libQt5Gui.so.5()(64bit) libQt5Gui.so.5(Qt_5)(64bit) libQt5Help.so.5()(64bit) libQt5Help.so.5(Qt_5)(64bit) libQt5PrintSupport.so.5()(64bit) libQt5PrintSupport.so.5(Qt_5)(64bit) libQt5Widgets.so.5()(64bit) libQt5Widgets.so.5(Qt_5)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.23)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.35)(64bit) libpcre.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtinyxml2.so.9()(64bit) rtld(GNU_HASH) Processing files: cppcheck-htmlreport-2.9-4.fc38_clang16_03.aarch64 Provides: cppcheck-htmlreport = 2.9-4.fc38_clang16_03 cppcheck-htmlreport(aarch-64) = 2.9-4.fc38_clang16_03 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Processing files: cppcheck-debugsource-2.9-4.fc38_clang16_03.aarch64 Provides: cppcheck-debugsource = 2.9-4.fc38_clang16_03 cppcheck-debugsource(aarch-64) = 2.9-4.fc38_clang16_03 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cppcheck-debuginfo-2.9-4.fc38_clang16_03.aarch64 Provides: cppcheck-debuginfo = 2.9-4.fc38_clang16_03 cppcheck-debuginfo(aarch-64) = 2.9-4.fc38_clang16_03 debuginfo(build-id) = eb9701db596022caa18c03ac30a7f1e4362be7ca Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cppcheck-debugsource(aarch-64) = 2.9-4.fc38_clang16_03 Processing files: cppcheck-gui-debuginfo-2.9-4.fc38_clang16_03.aarch64 Provides: cppcheck-gui-debuginfo = 2.9-4.fc38_clang16_03 cppcheck-gui-debuginfo(aarch-64) = 2.9-4.fc38_clang16_03 debuginfo(build-id) = 5f64d05518a91c3e5fa7989e11061a246e9bc4bd Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cppcheck-debugsource(aarch-64) = 2.9-4.fc38_clang16_03 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64 Wrote: /builddir/build/RPMS/cppcheck-debugsource-2.9-4.fc38_clang16_03.aarch64.rpm Wrote: /builddir/build/RPMS/cppcheck-2.9-4.fc38_clang16_03.aarch64.rpm Wrote: /builddir/build/RPMS/cppcheck-htmlreport-2.9-4.fc38_clang16_03.aarch64.rpm Wrote: /builddir/build/RPMS/cppcheck-gui-2.9-4.fc38_clang16_03.aarch64.rpm Wrote: /builddir/build/RPMS/cppcheck-gui-debuginfo-2.9-4.fc38_clang16_03.aarch64.rpm Wrote: /builddir/build/RPMS/cppcheck-debuginfo-2.9-4.fc38_clang16_03.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KY1ljg + umask 022 + cd /builddir/build/BUILD + cd cppcheck-2.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cppcheck-2.9-4.fc38_clang16_03.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.RSIGTb + umask 022 + cd /builddir/build/BUILD + rm -rf cppcheck-2.9 cppcheck-2.9.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0